Get Started
About Docker Apply custom metadata Docker Deprecated Features Understand the architecture
Image management
Using certificates for repository client verification Run a local registry mirror
Docker run reference Dockerfile reference Remote API client libraries docker.io accounts API
Quickstart contribution FAQ for contributors Where to chat or get help Style guide for Docker documentation

kill

Usage: docker kill [OPTIONS] CONTAINER [CONTAINER...]

Kill a running container using SIGKILL or a specified signal

  --help=false           Print usage
  -s, --signal="KILL"    Signal to send to the container

The main process inside the container will be sent SIGKILL, or any signal specified with option --signal.

Note: ENTRYPOINT and CMD in the shell form run as a subcommand of /bin/sh -c, which does not pass signals. This means that the executable is not the container’s PID 1 and does not receive Unix signals.

On this page:
Dec 22, 2015 at 5:49am (PST) { "docker/apidocs": { "ref": "master", "repos": [ "git@github.com:docker/dhe-deploy.git" ], "sha": "9ac9c4a4180ae73873aa10d0282b7b811e720598" }, "docker/compose": { "ref": "docs", "repos": [ "git@github.com:docker/compose.git" ], "sha": "8f48fa47472bbabf7e9181872501db2e53dc1879" }, "docker/docker-hub": { "ref": "master", "repos": [ "git@github.com:docker/hub2-demo.git" ], "sha": "1c056349073e4e6f7cb48bea14f921ed07b9a874" }, "docker/docker-trusted-registry": { "ref": "master", "repos": [ "git@github.com:docker/dhe-deploy.git" ], "sha": "9ac9c4a4180ae73873aa10d0282b7b811e720598" }, "docker/docs-base": { "ref": "hugo-github-linking", "repos": [ "git@github.com:docker/docs-base.git" ], "sha": "4983ebade4340e4ecd78b7c61fff3caed1f47cde" }, "docker/engine": { "ref": "docs", "repos": [ "git@github.com:docker/docker.git" ], "sha": "d001fd763ae6710f3385fe77186ba0cdc9bb8ee8" }, "docker/machine": { "ref": "docs", "repos": [ "git@github.com:docker/machine.git" ], "sha": "6643d0e53ed8f7a15391425d8336d6734bc9a097" }, "docker/opensource": { "ref": "master", "repos": [ "git@github.com:docker/opensource.git" ], "sha": "b4cb02bf89772563ec664c87805a21f27f841cb2" }, "docker/registry": { "ref": "docs", "repos": [ "git@github.com:docker/distribution.git" ], "sha": "8e367cc7378d0ef798a71bc7f5dfb081a0e80890" }, "docker/swarm": { "ref": "docs", "repos": [ "git@github.com:docker/swarm.git" ], "sha": "30e381a29ad0f1917bc0ce444cc33354057b0668" }, "docker/tutorials": { "ref": "master", "repos": [ "git@github.com:docker/tutorials.git" ], "sha": "a7ea64f0fa0e160e3810abec6d80d16aec77dee3" }, "docs.docker.com": { "ref": "refs/heads/dtr-1.4.5-release", "repos": [ "git@github.com:moxiegirl/docs.docker.com.git", "git@github.com:docker/docs.docker.com.git" ], "sha": "74fd1a668b79e6177b7d2b927764975685d57a11" }, "kitematic/kitematic": { "ref": "master", "repos": [ "git@github.com:kitematic/kitematic.git" ], "sha": "a8b5b4f2de826fb39e960da00a63d2748ef185a6" } }