Scroll to navigation

DOCKER-COMPOSE-KILL(1) DOCKER-COMPOSE-KILL(1)

NAME

docker-compose-kill - Force stop service containers

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

docker-compose(1)

Feb 2025