github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-kill.1.md (about)

     1  % podman-kill(1)
     2  
     3  ## NAME
     4  podman\-kill - Kill the main process in one or more containers
     5  
     6  ## SYNOPSIS
     7  **podman kill** [*options*] [*container* ...]
     8  
     9  **podman container kill** [*options*] [*container* ...]
    10  
    11  ## DESCRIPTION
    12  The main process inside each container specified will be sent SIGKILL, or any signal specified with option --signal.
    13  
    14  ## OPTIONS
    15  #### **--all**, **-a**
    16  
    17  Signal all running containers.  This does not include paused containers.
    18  
    19  #### **--latest**, **-l**
    20  
    21  Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
    22  to run containers such as CRI-O, the last started container could be from either of those methods.
    23  
    24  The latest option is not supported on the remote client.
    25  
    26  #### **--signal**, **-s**
    27  
    28  Signal to send to the container. For more information on Linux signals, refer to *man signal(7)*.
    29  
    30  
    31  ## EXAMPLE
    32  
    33  podman kill mywebserver
    34  
    35  podman kill 860a4b23
    36  
    37  podman kill --signal TERM 860a4b23
    38  
    39  podman kill --latest
    40  
    41  podman kill --signal KILL -a
    42  
    43  ## SEE ALSO
    44  podman(1), podman-stop(1)
    45  
    46  ## HISTORY
    47  September 2017, Originally compiled by Brent Baude <bbaude@redhat.com>