MAN-J
Man PagesPricing
LoginGet Started
docker-container-wait(1)
Original
English • 33 lines
DOCKER(1)		      Docker User Manuals		     DOCKER(1)



NAME
       docker-container-wait - Block until one or more containers stop, then
       print their exit codes



SYNOPSIS
       docker container wait CONTAINER [CONTAINER...]



DESCRIPTION
       Block until a container stops, then print its exit code.



EXAMPLES
       $ docker run -d fedora sleep 99
       079b83f558a2bc52ecad6b2a5de13622d584e6bb1aea058c11b36511e85e7622
       $ docker container wait 079b83f558a2bc
       0



SEE ALSO
       docker-container(1)

Docker Community		   Sep 2025			     DOCKER(1)

docker-container-wait(1)

dockercontainerwait - Block until one or more containers stop, then print their exit codes

0popularity

System Information

Docker Community 1.0.0
Updated Sep 2025
Maintained by Unknown

Actions