docs/compose/reference/kill.md

449 B

description keywords title notoc
Forces running containers to stop. fig, composition, compose, docker, orchestration, cli, kill docker-compose kill true
Usage: kill [options] [SERVICE...]

Options:
-s SIGNAL         SIGNAL to send to the container. Default signal is SIGKILL.

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

docker-compose kill -s SIGINT