Docker wait Command
docker wait : Blocks until a container stops, then prints its exit code.
Syntax
docker wait [OPTIONS] CONTAINER [CONTAINER...]
Example
docker wait CONTAINER
docker wait : Blocks until a container stops, then prints its exit code.
docker wait [OPTIONS] CONTAINER [CONTAINER...]
docker wait CONTAINER