summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-09-14 20:07:20 +0200
committerPaul Holzinger <paul.holzinger@web.de>2020-09-15 00:02:45 +0200
commit685ef847dd9dc117cafa2ed2217d4d66d0fc4b6d (patch)
tree4fa4c75ac5fda857081bda64b1b308b15f69c104 /docs/source
parentfd7cdb25027bb33c33eacb99f1a02838eca5d684 (diff)
downloadpodman-685ef847dd9dc117cafa2ed2217d4d66d0fc4b6d.tar.gz
podman-685ef847dd9dc117cafa2ed2217d4d66d0fc4b6d.tar.bz2
podman-685ef847dd9dc117cafa2ed2217d4d66d0fc4b6d.zip
podman wait accept args > 1
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/podman-wait.1.md14
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