File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ Run a one-off command on a service.
18
18
| ` --no-deps ` | | | Don't start linked services. |
19
19
| ` -p ` , ` --publish ` | ` stringArray ` | | Publish a container's port(s) to the host. |
20
20
| ` --quiet-pull ` | | | Pull without printing progress information. |
21
+ | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
21
22
| ` --rm ` | | | Automatically remove the container when it exits |
22
23
| ` --service-ports ` | | | Run command with the service's ports enabled and mapped to the host. |
23
24
| ` --use-aliases ` | | | Use the service's network useAliases in the network(s) the container connects to. |
24
25
| ` -u ` , ` --user ` | ` string ` | | Run as specified username or uid |
25
26
| ` -v ` , ` --volume ` | ` stringArray ` | | Bind mount a volume. |
26
27
| ` -w ` , ` --workdir ` | ` string ` | | Working directory inside the container |
27
- | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
28
28
29
29
30
30
<!-- -MARKER_GEN_END-->
Original file line number Diff line number Diff line change @@ -172,6 +172,16 @@ options:
172
172
experimentalcli : false
173
173
kubernetes : false
174
174
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
175
185
- option : rm
176
186
value_type : bool
177
187
default_value : " false"
@@ -246,16 +256,6 @@ options:
246
256
experimentalcli : false
247
257
kubernetes : false
248
258
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
259
259
deprecated : false
260
260
experimental : false
261
261
experimentalcli : false
You can’t perform that action at this time.
0 commit comments