docker killEstimated reading time: 1 minute
Edge only: This is the CLI reference for Docker CE Edge versions. Some of these options may not be available to Docker CE stable or Docker EE. You can view the stable version of this CLI reference or learn about Docker CE Edge.
Kill one or more running containers
docker kill [OPTIONS] CONTAINER [CONTAINER...]
|Signal to send to the container|
|docker||The base command for the Docker CLI.|
The main process inside the container will be sent
SIGKILL, or any
signal specified with option
CMDin 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.