github.com/olljanat/moby@v1.13.1/docs/reference/commandline/kill.md (about)

     1  ---
     2  title: "kill"
     3  description: "The kill command description and usage"
     4  keywords: "container, kill, signal"
     5  ---
     6  
     7  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # kill
    17  
    18  ```markdown
    19  Usage:  docker kill [OPTIONS] CONTAINER [CONTAINER...]
    20  
    21  Kill one or more running containers
    22  
    23  Options:
    24        --help            Print usage
    25    -s, --signal string   Signal to send to the container (default "KILL")
    26  ```
    27  
    28  The main process inside the container will be sent `SIGKILL`, or any
    29  signal specified with option `--signal`.
    30  
    31  > **Note:**
    32  > `ENTRYPOINT` and `CMD` in the *shell* form run as a subcommand of `/bin/sh -c`,
    33  > which does not pass signals. This means that the executable is not the container’s PID 1
    34  > and does not receive Unix signals.