Skip to content

Commit dadad01

Browse files
committed
Update docs programatically like you're supposed to
Signed-off-by: Matt Armand <[email protected]>
1 parent 1adc9f5 commit dadad01

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/reference/compose_run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ Run a one-off command on a service.
1818
| `--no-deps` | | | Don't start linked services. |
1919
| `-p`, `--publish` | `stringArray` | | Publish a container's port(s) to the host. |
2020
| `--quiet-pull` | | | Pull without printing progress information. |
21+
| `--remove-orphans` | | | Remove containers for services not defined in the Compose file. |
2122
| `--rm` | | | Automatically remove the container when it exits |
2223
| `--service-ports` | | | Run command with the service's ports enabled and mapped to the host. |
2324
| `--use-aliases` | | | Use the service's network useAliases in the network(s) the container connects to. |
2425
| `-u`, `--user` | `string` | | Run as specified username or uid |
2526
| `-v`, `--volume` | `stringArray` | | Bind mount a volume. |
2627
| `-w`, `--workdir` | `string` | | Working directory inside the container |
27-
| `--remove-orphans` | | | Remove containers for services not defined in the Compose file. |
2828

2929

3030
<!---MARKER_GEN_END-->

docs/reference/docker_compose_run.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,16 @@ options:
172172
experimentalcli: false
173173
kubernetes: false
174174
swarm: false
175+
- option: remove-orphans
176+
value_type: bool
177+
default_value: "false"
178+
description: Remove containers for services not defined in the Compose file.
179+
deprecated: false
180+
hidden: false
181+
experimental: false
182+
experimentalcli: false
183+
kubernetes: false
184+
swarm: false
175185
- option: rm
176186
value_type: bool
177187
default_value: "false"
@@ -246,16 +256,6 @@ options:
246256
experimentalcli: false
247257
kubernetes: false
248258
swarm: false
249-
- option: remove-orphans
250-
value_type: bool
251-
default_value: "false"
252-
description: Remove containers for services not defined in the Compose file.
253-
deprecated: false
254-
hidden: false
255-
experimental: false
256-
experimentalcli: false
257-
kubernetes: false
258-
swarm: false
259259
deprecated: false
260260
experimental: false
261261
experimentalcli: false

0 commit comments

Comments
 (0)