File tree Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Expand file tree Collapse file tree 2 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ Creates containers for a service.
5
5
6
6
### Options
7
7
8
- | Name | Type | Default | Description |
9
- | :-------------------| :---------| :----------| :--------------------------------------------------------------------------------------|
10
- | ` --build ` | | | Build images before starting containers. |
11
- | ` --force-recreate ` | | | Recreate containers even if their configuration and image haven't changed. |
12
- | ` --no-build ` | | | Don't build an image, even if it's missing. |
13
- | ` --no-recreate ` | | | If containers already exist, don't recreate them. Incompatible with --force-recreate. |
14
- | ` --pull ` | ` string ` | ` missing ` | Pull image before running ("always"\| "missing"\| "never") |
15
- | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
8
+ | Name | Type | Default | Description |
9
+ | :-------------------| :--------------| :----------| :----------------------------------------------------------------------------------------------|
10
+ | ` --build ` | | | Build images before starting containers. |
11
+ | ` --force-recreate ` | | | Recreate containers even if their configuration and image haven't changed. |
12
+ | ` --no-build ` | | | Don't build an image, even if it's missing. |
13
+ | ` --no-recreate ` | | | If containers already exist, don't recreate them. Incompatible with --force-recreate. |
14
+ | ` --pull ` | ` string ` | ` missing ` | Pull image before running ("always"\| "missing"\| "never") |
15
+ | ` --remove-orphans ` | | | Remove containers for services not defined in the Compose file. |
16
+ | ` --scale ` | ` stringArray ` | | Scale SERVICE to NUM instances. Overrides the ` scale ` setting in the Compose file if present. |
16
17
17
18
18
19
<!-- -MARKER_GEN_END-->
Original file line number Diff line number Diff line change @@ -67,6 +67,17 @@ options:
67
67
experimentalcli : false
68
68
kubernetes : false
69
69
swarm : false
70
+ - option : scale
71
+ value_type : stringArray
72
+ default_value : ' []'
73
+ description : |
74
+ Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present.
75
+ deprecated : false
76
+ hidden : false
77
+ experimental : false
78
+ experimentalcli : false
79
+ kubernetes : false
80
+ swarm : false
70
81
deprecated : false
71
82
experimental : false
72
83
experimentalcli : false
You can’t perform that action at this time.
0 commit comments