DockerCommand
Wait for a Container to Finish
Type this command
docker wait CONTAINERBlocks until the container exits, then prints its exit code.
The Docker command to wait for a container to finish is docker wait CONTAINER.
docker wait CONTAINERdocker wait CONTAINERBlocks until the container exits, then prints its exit code.
Run docker wait CONTAINER.
Run docker wait CONTAINER.
Type it in the terminal or command-line interface used by Docker.
Yes. The command text is the same on both platforms when the tool is installed.