github.com/shiroyuki/docker@v1.9.0/man/docker-wait.1.md (about) 1 % DOCKER(1) Docker User Manuals 2 % Docker Community 3 % JUNE 2014 4 # NAME 5 docker-wait - Block until a container stops, then print its exit code. 6 7 # SYNOPSIS 8 **docker wait** 9 [**--help**] 10 CONTAINER [CONTAINER...] 11 12 # DESCRIPTION 13 14 Block until a container stops, then print its exit code. 15 16 # OPTIONS 17 **--help** 18 Print usage statement 19 20 # EXAMPLES 21 22 $ docker run -d fedora sleep 99 23 079b83f558a2bc52ecad6b2a5de13622d584e6bb1aea058c11b36511e85e7622 24 $ docker wait 079b83f558a2bc 25 0 26 27 # HISTORY 28 April 2014, Originally compiled by William Henry (whenry at redhat dot com) 29 based on docker.com source material and internal work. 30 June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>