Pārlūkot izejas kodu

Update docs programatically like you're supposed to

Signed-off-by: Matt Armand <[email protected]>
Matt Armand 2 gadi atpakaļ
vecāks
revīzija
dadad01e63
2 mainītis faili ar 11 papildinājumiem un 11 dzēšanām
  1. 1 1
      docs/reference/compose_run.md
  2. 10 10
      docs/reference/docker_compose_run.yaml

+ 1 - 1
docs/reference/compose_run.md

@@ -18,13 +18,13 @@ Run a one-off command on a service.
 | `--no-deps`           |               |         | Don't start linked services.                                                      |
 | `-p`, `--publish`     | `stringArray` |         | Publish a container's port(s) to the host.                                        |
 | `--quiet-pull`        |               |         | Pull without printing progress information.                                       |
+| `--remove-orphans`    |               |         | Remove containers for services not defined in the Compose file.                   |
 | `--rm`                |               |         | Automatically remove the container when it exits                                  |
 | `--service-ports`     |               |         | Run command with the service's ports enabled and mapped to the host.              |
 | `--use-aliases`       |               |         | Use the service's network useAliases in the network(s) the container connects to. |
 | `-u`, `--user`        | `string`      |         | Run as specified username or uid                                                  |
 | `-v`, `--volume`      | `stringArray` |         | Bind mount a volume.                                                              |
 | `-w`, `--workdir`     | `string`      |         | Working directory inside the container                                            |
-| `--remove-orphans`    |               |         | Remove containers for services not defined in the Compose file.                   |
 
 
 <!---MARKER_GEN_END-->

+ 10 - 10
docs/reference/docker_compose_run.yaml

@@ -172,6 +172,16 @@ options:
       experimentalcli: false
       kubernetes: false
       swarm: false
+    - option: remove-orphans
+      value_type: bool
+      default_value: "false"
+      description: Remove containers for services not defined in the Compose file.
+      deprecated: false
+      hidden: false
+      experimental: false
+      experimentalcli: false
+      kubernetes: false
+      swarm: false
     - option: rm
       value_type: bool
       default_value: "false"
@@ -246,16 +256,6 @@ options:
       experimentalcli: false
       kubernetes: false
       swarm: false
-    - option: remove-orphans
-      value_type: bool
-      default_value: "false"
-      description: Remove containers for services not defined in the Compose file.
-      deprecated: false
-      hidden: false
-      experimental: false
-      experimentalcli: false
-      kubernetes: false
-      swarm: false
 deprecated: false
 experimental: false
 experimentalcli: false