mirror of https://github.com/docker/docs.git
Update scale docs
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
33b1c443a9
commit
84c8ff4e63
|
@ -5,6 +5,9 @@ title: docker-compose scale
|
|||
notoc: true
|
||||
---
|
||||
|
||||
> **Note**: This command is deprecated. Use the [up](up.md) command with the
|
||||
`--scale` flag instead.
|
||||
|
||||
```
|
||||
Usage: scale [SERVICE=NUM...]
|
||||
```
|
||||
|
|
|
@ -6,7 +6,7 @@ notoc: true
|
|||
---
|
||||
|
||||
```
|
||||
Usage: up [options] [SERVICE...]
|
||||
Usage: up [options] [--scale SERVICE=NUM...] [SERVICE...]
|
||||
|
||||
Options:
|
||||
-d Detached mode: Run containers in the background,
|
||||
|
@ -30,6 +30,8 @@ Options:
|
|||
the Compose file
|
||||
--exit-code-from SERVICE Return the exit code of the selected service container.
|
||||
Implies --abort-on-container-exit.
|
||||
--scale SERVICE=NUM Scale SERVICE to NUM instances. Overrides the `scale`
|
||||
setting in the Compose file if present.
|
||||
```
|
||||
|
||||
Builds, (re)creates, starts, and attaches to containers for a service.
|
||||
|
|
Loading…
Reference in New Issue