diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-14 23:09:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 23:09:14 -0400 |
commit | 5c47a331ba768d57ef94b9595415500f4e911964 (patch) | |
tree | 4fa4c75ac5fda857081bda64b1b308b15f69c104 /docs/source/markdown | |
parent | fd7cdb25027bb33c33eacb99f1a02838eca5d684 (diff) | |
parent | 685ef847dd9dc117cafa2ed2217d4d66d0fc4b6d (diff) | |
download | podman-5c47a331ba768d57ef94b9595415500f4e911964.tar.gz podman-5c47a331ba768d57ef94b9595415500f4e911964.tar.bz2 podman-5c47a331ba768d57ef94b9595415500f4e911964.zip |
Merge pull request #7630 from Luap99/wait-n-args
podman wait accept args > 1
Diffstat (limited to 'docs/source/markdown')
-rw-r--r-- | docs/source/markdown/podman-wait.1.md | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/source/markdown/podman-wait.1.md b/docs/source/markdown/podman-wait.1.md index 886bbc55b..1d85e9af0 100644 --- a/docs/source/markdown/podman-wait.1.md +++ b/docs/source/markdown/podman-wait.1.md @@ -4,14 +4,15 @@ podman\-wait - Wait on one or more containers to stop and print their exit codes ## SYNOPSIS -**podman wait** [*options*] *container* +**podman wait** [*options*] *container* [...] -**podman container wait** [*options*] *container* +**podman container wait** [*options*] *container* [...] ## DESCRIPTION Waits on one or more containers to stop. The container can be referred to by its -name or ID. In the case of multiple containers, podman will wait on each consecutively. -After the container stops, the container's return code is printed. +name or ID. In the case of multiple containers, Podman will wait on each consecutively. +After all specified containers are stopped, the containers' return codes are printed +separated by newline in the same order as they were given to the command. ## OPTIONS @@ -36,12 +37,17 @@ The latest option is not supported on the remote client. ``` $ podman wait mywebserver +0 $ podman wait --latest +0 $ podman wait 860a4b23 +1 $ podman wait mywebserver myftpserver +0 +125 ``` ## SEE ALSO |