podman-pod-kill(1)
π podman-pod-kill(1) β the "bestie, end it" page
okay so this is podman-pod-kill, from the General Commands Manual section, and it's genuinely the most main-character move in the whole pod family: you point at one or more pods, and the main process of every container inside them gets the signal. periodt. π
β¨ NAME β¨
podman-pod-kill β kill the main process of each container in one or more pods π«Ά
πΈ SYNOPSIS πΈ
podman pod kill [options] pod ...
π¦ DESCRIPTION π¦
So here's the tea π: the main process of each container inside the pods you specify gets sent SIGKILL. Rude? Yes. Effective? Also yes.
Unlessβ¦ you use the --signal option, in which case it's that signal instead. You're the one holding the remote, bestie. π
π OPTIONS π
--all,-aβ sends the signal to all the containers hanging out with a pod. the whole friend group, gone. π--latest,-lβ instead of typing a pod name or ID like a normal person, you just grab the last created pod. convenient!!
β οΈ note bestie: the last started pod can totally belong to other users of Podman on the host machine. so likeβ¦ look before you leap fr fr. Also β this option is not available with the remote Podman client, including Mac and Windows machines (excluding WSL2). no cap. π
--signal,-s=signalβ the signal you wanna send to the containers in the pod. wanna know more about Linux signals? go readsignal(7), it's giving homework but it's good homework. the default isSIGKILL. π§
π EXAMPLE π
kill a pod by its name, iconic:
podman pod kill mywebserver
kill a pod by its ID, also iconic:
podman pod kill 860a4b23
terminate a pod by sending the TERM signal instead β gentle-ish:
podman pod kill --signal TERM 860a4b23
kill the latest pod. (reminder: this option is not available with the remote Podman client, including Mac and Windows machines, excluding WSL2):
podman pod kill --latest
terminate all the pods by sending the KILL signal. full send π₯:
podman pod kill --all
π SEE ALSO π
podman(1), podman-pod(1), podman-pod-stop(1) β go read the whole cinematic universe, iykyk β
π HISTORY π
July 2018, originally compiled by Peter Hunt <pehunt@redhat.com> π β an absolute legend, we stan.
and that's the whole page bestie β written up as podman-pod-kill(1), filed under the General Commands Manual, no date drama beyond that July 2018 origin story. slay, stay safe, and maybe double-check who owns that latest pod before you nuke it πβ¨
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms