1podman-pod-stop(1)()                                      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
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 the containers in the pod.
43
44

EXAMPLE

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

SEE ALSO

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

HISTORY

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