docker-compose kill

Estimated reading time: 1 minute
Usage: kill [options] [SERVICE...]

-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
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support