compose/docs/reference/compose_kill.md
Laura Brehm a226fe9daf
Update docs for new compose kill --remove-orphans option
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2022-08-19 04:29:51 +02:00

538 B

docker compose kill

Force stop service containers.

Options

Name Type Default Description
--remove-orphans 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