1podman-kill(1) General Commands Manual 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 is sent SIGKILL or any
18 signal specified with the --signal option.
19
20
22 --all, -a
23 Signal all running and paused containers.
24
25
26 --cidfile=file
27 Read container ID from the specified file and kill the container. Can
28 be specified multiple times.
29
30
31 --latest, -l
32 Instead of providing the container name or ID, use the last created
33 container. Note: the last started container can be from other users of
34 Podman on the host machine. (This option is not available with the re‐
35 mote Podman client, including Mac and Windows (excluding WSL2) ma‐
36 chines)
37
38
39 --signal, -s=signal
40 Signal to send to the container. For more information on Linux signals,
41 refer to signal(7). The default is SIGKILL.
42
43
45 Kill container with a given name
46
47
48 podman kill mywebserver
49
50
51
52 Kill container with a given ID
53
54
55 podman kill 860a4b23
56
57
58
59 Terminate container by sending TERM signal
60
61
62 podman kill --signal TERM 860a4b23
63
64
65
66 Kill the latest container created by Podman
67
68
69 podman kill --latest
70
71
72
73 Terminate all containers by sending KILL signal
74
75
76 podman kill --signal KILL -a
77
78
79
80 Kill container using ID specified in a given files
81
82
83 podman kill --cidfile /home/user/cidfile-1
84 podman kill --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2
85
86
87
89 podman(1), podman-stop(1)
90
91
93 September 2017, Originally compiled by Brent Baude bbaude@redhat.com
94 ⟨mailto:bbaude@redhat.com⟩
95
96
97
98 podman-kill(1)