1podman-pod-stop(1)          General Commands Manual         podman-pod-stop(1)
2
3
4

NAME

6       podman-pod-stop - Stop one or more pods
7
8

SYNOPSIS

10       podman pod stop [options] pod ...
11
12

DESCRIPTION

14       Stop  containers  in one or more pods.  You may use pod IDs or names as
15       input.
16
17

OPTIONS

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,  including
33       Mac and Windows (excluding WSL2) machines)
34
35
36   --pod-id-file=file
37       Read  pod ID from the specified file and stop the pod. Can be specified
38       multiple times.
39
40
41   --time, -t=seconds
42       Seconds to wait before forcibly stopping running containers within  the
43       pod.
44
45

EXAMPLE

47       Stop pod with a given name
48
49
50              $ podman pod stop mywebserverpod
51              cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
52
53
54
55       Stop multiple pods with given IDs.
56
57
58              $ podman pod stop 490eb 3557fb
59              490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
60              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
61
62
63
64       Stop the last created pod
65
66
67              $ podman pod stop --latest
68              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
69
70
71
72       Stop all pods
73
74
75              $ podman pod stop --all
76              19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
77              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
78              490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
79              70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
80              cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
81
82
83
84       Stop two pods via --pod-id-file
85
86
87              $ podman pod stop --pod-id-file file1 --pod-id-file file2
88              19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
89              cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
90
91
92
93       Stop all pods with a timeout of 1 second
94
95
96              $ podman pod stop -a -t 1
97              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
98              490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
99              70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
100
101
102

SEE ALSO

104       podman(1), podman-pod(1), podman-pod-start(1)
105
106

HISTORY

108       July   2018,   Originally  compiled  by  Peter  Hunt  pehunt@redhat.com
109       ⟨mailto:pehunt@redhat.com⟩
110
111
112
113                                                            podman-pod-stop(1)
Impressum