Update scale docs

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-04-26 15:44:19 -07:00 committed by Misty Stanley-Jones
parent 33b1c443a9
commit 84c8ff4e63
2 changed files with 6 additions and 1 deletions

View File

@ -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...]
```

View File

@ -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.