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.
37
38
39 The latest option is not supported on the remote client.
40
41
42 --signal, -s
43 Signal to send to the container. For more information on Linux signals,
44 refer to man signal(7).
45
46
48 podman kill mywebserver
49
50
51 podman kill 860a4b23
52
53
54 podman kill --signal TERM 860a4b23
55
56
57 podman kill --latest
58
59
60 podman kill --signal KILL -a
61
62
63 podman kill --cidfile /home/user/cidfile-1
64
65
66 podman kill --cidfile /home/user/cidfile-1 --cidfile ./cidfile-2
67
68
70 podman(1), podman-stop(1)
71
72
74 September 2017, Originally compiled by Brent Baude bbaude@redhat.com
75 ⟨mailto:bbaude@redhat.com⟩
76
77
78
79 podman-kill(1)()