1podman-pod-stop(1)() podman-pod-stop(1)()
2
3
4
6 podman-pod-stop - Stop one or more pods
7
8
10 podman pod stop [options] pod ...
11
12
14 Stop containers in one or more pods. You may use pod IDs or names as
15 input.
16
17
19 --all, -a
20 Stops all pods
21
22
23 --ignore, -i
24 Ignore errors when specified pods are not in the container store. A
25 user might have decided to manually remove a pod which would lead to a
26 failure during the ExecStop directive of a systemd service referencing
27 that pod.
28
29
30 --latest, -l
31 Instead of providing the pod name or ID, stop the last created pod.
32 (This option is not available with the remote Podman client)
33
34
35 --time, -t=time
36 Timeout to wait before forcibly stopping the containers in the pod.
37
38
39 --pod-id-file
40 Read pod ID from the specified file and stop the pod. Can be specified
41 multiple times.
42
43
45 Stop a pod called mywebserverpod
46
47
48 $ podman pod stop mywebserverpod
49 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
50
51
52
53 Stop two pods by their short IDs.
54
55
56 $ podman pod stop 490eb 3557fb
57 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
58 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
59
60
61
62 Stop the most recent pod
63
64
65 $ podman pod stop --latest
66 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
67
68
69
70 Stop all pods
71
72
73 $ podman pod stop --all
74 19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
75 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
76 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
77 70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
78 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
79
80
81
82 Stop two pods via --pod-id-file
83
84
85 $ podman pod stop --pod-id-file file1 --pod-id-file file2
86 19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
87 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
88
89
90
91 Stop all pods with a timeout of 1 second.
92
93
94 $ podman pod stop -a -t 1
95 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
96 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
97 70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
98
99
100
102 podman-pod(1), podman-pod-start(1), podman-stop(1)
103
104
106 July 2018, Originally compiled by Peter Hunt pehunt@redhat.com
107 ⟨mailto:pehunt@redhat.com⟩
108
109
110
111 podman-pod-stop(1)()