1podman-wait (1"") podman-wait (1"")
2
3
4
6 podman-wait - Wait on one or more containers to stop and print their
7 exit codes
8
9
11 podman wait [options] container
12
13
15 Waits on one or more containers to stop. The container can be referred
16 to by its name or ID. In the case of multiple containers, podman will
17 wait on each consecutively. After the container stops, the container's
18 return code is printed.
19
20
22 --help, -h
23
24
25 Print usage statement
26
27
28 --interval, -i"
29 Microseconds to wait before polling for completion
30
31
32 --latest, -l
33
34
35 Instead of providing the container name or ID, use the last created
36 container. If you use methods other than Podman to run containers such
37 as CRI-O, the last started container could be from either of those
38 methods.
39
40
41 The latest option is not supported on the remote client.
42
43
45 $ podman wait mywebserver
46
47 $ podman wait --latest
48
49 $ podman wait 860a4b23
50
51 $ podman wait mywebserver myftpserver
52
53
54
56 podman(1)
57
58
60 September 2017, Originally compiled by Brent Baude ⟨bbaude@redhat.com⟩
61
62
63
64 podman-wait (1"")