github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/docs/source/markdown/podman-pod-kill.1.md (about)

     1  % podman-pod-kill(1)
     2  
     3  ## NAME
     4  podman\-pod\-kill - Kill the main process of each container in one or more pods
     5  
     6  ## SYNOPSIS
     7  **podman pod kill** [*options*] *pod* ...
     8  
     9  ## DESCRIPTION
    10  The main process of each container inside the pods specified will be sent SIGKILL, or any signal specified with option --signal.
    11  
    12  ## OPTIONS
    13  #### **--all**, **-a**
    14  
    15  Sends signal to all containers associated with a pod.
    16  
    17  #### **--latest**, **-l**
    18  
    19  Instead of providing the pod name or ID, use the last created pod. If you use methods other than Podman
    20  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)
    21  
    22  #### **--signal**, **-s**
    23  
    24  Signal to send to the containers in the pod. For more information on Linux signals, refer to *man signal(7)*.
    25  
    26  
    27  ## EXAMPLE
    28  
    29  Kill pod with a given name
    30  ```
    31  podman pod kill mywebserver
    32  ```
    33  
    34  Kill pod with a given ID
    35  ```
    36  podman pod kill 860a4b23
    37  ```
    38  
    39  Terminate pod by sending `TERM` signal
    40  ```
    41  podman pod kill --signal TERM 860a4b23
    42  ```
    43  
    44  Kill the latest pod created by Podman
    45  ```
    46  podman pod kill --latest
    47  ```
    48  
    49  Terminate all pods by sending `KILL` signal
    50  ```
    51  podman pod kill --all
    52  ```
    53  
    54  ## SEE ALSO
    55  **[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **[podman-pod-stop(1)](podman-pod-stop.1.md)**
    56  
    57  ## HISTORY
    58  July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>