Docker wait command
docker wait: stop blocking run until the container, and then print out its exit code.
grammar
docker wait [OPTIONS] CONTAINER [CONTAINER...]
Examples
docker wait CONTAINER
docker wait: stop blocking run until the container, and then print out its exit code.
docker wait [OPTIONS] CONTAINER [CONTAINER...]
docker wait CONTAINER