mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
858 B
858 B
docker compose kill
Force stop service containers.
Options
Name | Type | Default | Description |
---|---|---|---|
--dry-run |
Execute command in dry run mode | ||
--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