Debian Codegraph @

docs/reference/docker_compose_kill.yaml

raw
1 command: docker compose kill
2 short: Force stop service containers
3 long: |-
4 Forces running containers to stop by sending a `SIGKILL` signal. Optionally the signal can be passed, for example:
5
6 ```console
7 $ docker compose kill -s SIGINT
8 ```
9 usage: docker compose kill [OPTIONS] [SERVICE...]
10 pname: docker compose
11 plink: docker_compose.yaml
12 options:
13 - option: remove-orphans
14 value_type: bool
15 default_value: "false"
16 description: Remove containers for services not defined in the Compose file
17 deprecated: false
18 hidden: false
19 experimental: false
20 experimentalcli: false
21 kubernetes: false
22 swarm: false
23 - option: signal
24 shorthand: s
25 value_type: string
26 default_value: SIGKILL
27 description: SIGNAL to send to the container
28 deprecated: false
29 hidden: false
30 experimental: false
31 experimentalcli: false
32 kubernetes: false
33 swarm: false
34 inherited_options:
35 - option: dry-run
36 value_type: bool
37 default_value: "false"
38 description: Execute command in dry run mode
39 deprecated: false
40 hidden: false
41 experimental: false
42 experimentalcli: false
43 kubernetes: false
44 swarm: false
45 deprecated: false
46 hidden: false
47 experimental: false
48 experimentalcli: false
49 kubernetes: false
50 swarm: false
51