mirror of https://github.com/docker/compose.git
29 lines
676 B
YAML
29 lines
676 B
YAML
command: docker compose kill
|
|
short: Force stop service containers.
|
|
long: |-
|
|
Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
|
|
|
|
```console
|
|
$ docker-compose kill -s SIGINT
|
|
```
|
|
usage: docker compose kill [options] [SERVICE...]
|
|
pname: docker compose
|
|
plink: docker_compose.yaml
|
|
options:
|
|
- 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
|
|
deprecated: false
|
|
experimental: false
|
|
experimentalcli: false
|
|
kubernetes: false
|
|
swarm: false
|
|
|