compose/docs/reference/compose_kill.md
Guillaume Lours 231ea10058 update docs generation to avoid man pages generation
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-07-17 13:01:51 +02:00

985 B

docker compose kill

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

$ docker-compose kill -s SIGINT

Options

Name Type Default Description
--dry-run bool Execute command in dry run mode
--remove-orphans bool Remove containers for services not defined in the Compose file
-s, --signal string SIGKILL SIGNAL to send to the container

Description

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

$ docker-compose kill -s SIGINT