Skip to content

Commit a226fe9

Browse files
committed
Update docs for new compose kill --remove-orphans option
Signed-off-by: Laura Brehm <[email protected]>
1 parent fcfcc15 commit a226fe9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

docs/reference/compose_kill.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Force stop service containers.
77

88
| Name | Type | Default | Description |
99
| --- | --- | --- | --- |
10+
| `--remove-orphans` | | | Remove containers for services not defined in the Compose file. |
1011
| `-s`, `--signal` | `string` | `SIGKILL` | SIGNAL to send to the container. |
1112

1213

docs/reference/docker_compose_kill.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ usage: docker compose kill [OPTIONS] [SERVICE...]
1010
pname: docker compose
1111
plink: docker_compose.yaml
1212
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
1323
- option: signal
1424
shorthand: s
1525
value_type: string

0 commit comments

Comments
 (0)