wait

Usage:  docker wait CONTAINER [CONTAINER...]

Block until a container stops, then print its exit code

Options:
      --help   Print usage