podman-pod-kill(1) | General Commands Manual | podman-pod-kill(1) |
podman-pod-kill - Kill the main process of each container in one or more pods
podman pod kill [options] pod ...
The main process of each container inside the pods specified will be sent SIGKILL, or any signal specified with option --signal.
Sends signal to all containers associated with a pod.
Instead of providing the pod name or ID, use the last created pod. If you use methods other than Podman to run pods such as CRI-O, the last started pod could be from either of those methods. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)
Signal to send to the containers in the pod. For more information on Linux signals, refer to signal(7). The default is SIGKILL.
Kill pod with a given name
podman pod kill mywebserver
Kill pod with a given ID
podman pod kill 860a4b23
Terminate pod by sending TERM signal
podman pod kill --signal TERM 860a4b23
Kill the latest pod created by Podman
podman pod kill --latest
Terminate all pods by sending KILL signal
podman pod kill --all
July 2018, Originally compiled by Peter Hunt pehunt@redhat.com ⟨mailto:pehunt@redhat.com⟩