Force stop service containers.
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. |
Forces running containers to stop by sending a SIGKILL
signal. Optionally the signal can be passed, for example:
$ docker-compose kill -s SIGINT