1podman-kill(1)() podman-kill(1)()
2
3
4
6 podman-kill - Kill the main process in one or more containers
7
8
10 podman kill [options] [container ...]
11
12
13 podman container kill [options] [container ...]
14
15
17 The main process inside each container specified will be sent SIGKILL,
18 or any signal specified with option --signal.
19
20
22 --all, -a
23 Signal all running containers. This does not include paused contain‐
24 ers.
25
26
27 --cidfile
28 Read container ID from the specified file and remove the container.
29 Can be specified multiple times.
30
31
32 --latest, -l
33 Instead of providing the container name or ID, use the last created
34 container. If you use methods other than Podman to run containers such
35 as CRI-O, the last started container could be from either of those
36 methods. (This option is not available with the remote Podman client,
37 including Mac and Windows (excluding WSL2) machines)
38
39
40 --signal, -s
41 Signal to send to the container. For more information on Linux signals,
42 refer to man signal(7).
43
44
46 Kill container with a given name
47
48
49 podman kill mywebserver
50
51
52
53 Kill container with a given ID
54
55
56 podman kill 860a4b23
57
58
59
60 Terminate container by sending TERM signal
61
62
63 podman kill --signal TERM 860a4b23
64
65
66
67 Kill the latest container created by Podman
68
69
70 podman kill --latest
71
72
73
74 Terminate all containers by sending KILL signal
75
76
77 podman kill --signal KILL -a
78
79
80
81 Kill container using ID specified in a given files
82
83
84 podman kill --cidfile /home/user/cidfile-1
85 podman kill --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2
86
87
88
90 podman(1), podman-stop(1)
91
92
94 September 2017, Originally compiled by Brent Baude bbaude@redhat.com
95 ⟨mailto:bbaude@redhat.com⟩
96
97
98
99 podman-kill(1)()