Skip to content
Fresh

docker compose kill

Back

Reference

docker compose kill

Copy as Markdown

Open MarkdownAsk Docs AIClaudeOpen in Claude

| Description | Force stop service containers | | Usage | docker compose kill [OPTIONS] [SERVICE...] |

Description

Forces running containers to stop by sending a SIGKILL signal. Optionally the signal can be passed, for example:

console
$ docker compose kill -s SIGINT

Options

OptionDefaultDescription
--remove-orphansRemove containers for services not defined in the Compose file
-s, --signalSIGKILLSIGNAL to send to the container