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 leads to a fail‐
26       ure during the ExecStop directive of a systemd service referencing that
27       pod.
28
29
30   --latest, -l
31       Instead  of  providing  the  pod  name or ID, use the last created pod.
32       Note: the last started pod can be from other users  of  Podman  on  the
33       host  machine.   (This  option  is not available with the remote Podman
34       client, including Mac and Windows (excluding WSL2) machines)
35
36
37   --pod-id-file=file
38       Read pod ID from the specified file and stop the pod. Can be  specified
39       multiple times.
40
41
42   --time, -t=seconds
43       Seconds  to wait before forcibly stopping running containers within the
44       pod.  Use -1 for infinite wait.
45
46

EXAMPLE

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

SEE ALSO

99       podman(1), podman-pod(1), podman-pod-start(1)
100
101

HISTORY

103       July  2018,  Originally  compiled  by  Peter   Hunt   pehunt@redhat.com
104       ⟨mailto:pehunt@redhat.com⟩
105
106
107
108                                                            podman-pod-stop(1)
Impressum