podman-pod-kill(1)

πŸ“¦
version 6.1.4 Β· 5 versions
, in arch rolling, fedora 43, fedora 44, ubuntu resolute

πŸ’… 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 read signal(7), it's giving homework but it's good homework. the default is SIGKILL. 🧚

🌈 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