2014-04-16 14:07:55 -04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
2014-06-30 22:58:04 -04:00
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
2014-04-16 14:07:55 -04:00
|
|
|
# NAME
|
|
|
|
docker-wait - Block until a container stops, then print its exit code.
|
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-06-30 22:58:04 -04:00
|
|
|
**docker wait**
|
|
|
|
CONTAINER [CONTAINER...]
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# DESCRIPTION
|
2014-06-30 22:58:04 -04:00
|
|
|
|
2014-04-16 14:07:55 -04:00
|
|
|
Block until a container stops, then print its exit code.
|
|
|
|
|
2014-06-30 22:58:04 -04:00
|
|
|
# OPTIONS
|
2014-08-27 14:59:13 -04:00
|
|
|
There are no available options.
|
2014-06-30 22:58:04 -04:00
|
|
|
|
|
|
|
# EXAMPLES
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
$ sudo docker run -d fedora sleep 99
|
|
|
|
079b83f558a2bc52ecad6b2a5de13622d584e6bb1aea058c11b36511e85e7622
|
|
|
|
$ sudo docker wait 079b83f558a2bc
|
|
|
|
0
|
|
|
|
|
|
|
|
# HISTORY
|
|
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
2014-07-01 20:30:25 -04:00
|
|
|
based on docker.com source material and internal work.
|
2014-07-02 21:07:42 -04:00
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|