clarified relationship btwn scale and replicas (#2683)

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
Victoria Bialas 2017-04-07 11:38:21 -07:00 committed by GitHub
parent 1654a09c72
commit 61aa60d039
1 changed files with 3 additions and 3 deletions

View File

@ -17,6 +17,6 @@ Numbers are specified as arguments in the form `service=num`. For example:
>**Tip**: Alternatively, in >**Tip**: Alternatively, in
[Compose file version 3.x](/compose/compose-file/index.md), you can specify [Compose file version 3.x](/compose/compose-file/index.md), you can specify
[`replicas`](/compose/compose-file/index.md#replicas) [replicas](/compose/compose-file/index.md#replicas)
under [`deploy`](/compose/compose-file/index.md#deploy) as part of the under the [deploy](/compose/compose-file/index.md#deploy) key as part of a
service configuration for [Swarm mode](/engine/swarm/). service configuration for [Swarm mode](/engine/swarm/). Note that the `deploy` key and its sub-options (including `replicas`) will only work with the `docker stack deploy` command, not `docker compose up` or `docker-compose run`.