docker-compose-kill(1)

docker-compose-kill1

Force stop service containers

Usage

docker compose kill [OPTIONS] [SERVICE ...]

Overview

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

$ docker-compose kill -s SIGINT

Options

-h, --help[=false]
help for kill

--remove-orphans[=false]
Remove containers for services not defined in the Compose file

-s, --signal="SIGKILL"
SIGNAL to send to the container

Options inherited from parent commands

--dry-run[=false]
Execute command in dry run mode

From docker-compose 2.26.1-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.