2021-03-08 15:47:24 +01:00
|
|
|
command: docker compose kill
|
|
|
|
short: Force stop service containers.
|
2021-03-11 16:20:30 +01:00
|
|
|
long: |-
|
2021-09-13 17:41:21 +02:00
|
|
|
Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
|
2021-03-11 16:20:30 +01:00
|
|
|
|
2021-09-13 17:41:21 +02:00
|
|
|
```console
|
|
|
|
$ docker-compose kill -s SIGINT
|
|
|
|
```
|
2021-03-08 15:47:24 +01:00
|
|
|
usage: docker compose kill [options] [SERVICE...]
|
|
|
|
pname: docker compose
|
|
|
|
plink: docker_compose.yaml
|
|
|
|
options:
|
2021-09-13 17:41:21 +02:00
|
|
|
- option: signal
|
|
|
|
shorthand: s
|
|
|
|
value_type: string
|
|
|
|
default_value: SIGKILL
|
|
|
|
description: SIGNAL to send to the container.
|
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
2021-03-08 15:47:24 +01:00
|
|
|
deprecated: false
|
|
|
|
experimental: false
|
|
|
|
experimentalcli: false
|
|
|
|
kubernetes: false
|
|
|
|
swarm: false
|
|
|
|
|