mirror of https://github.com/docker/docs.git
clarified relationship btwn scale and replicas (#2683)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
parent
1654a09c72
commit
61aa60d039
|
@ -17,6 +17,6 @@ Numbers are specified as arguments in the form `service=num`. For example:
|
|||
|
||||
>**Tip**: Alternatively, in
|
||||
[Compose file version 3.x](/compose/compose-file/index.md), you can specify
|
||||
[`replicas`](/compose/compose-file/index.md#replicas)
|
||||
under [`deploy`](/compose/compose-file/index.md#deploy) as part of the
|
||||
service configuration for [Swarm mode](/engine/swarm/).
|
||||
[replicas](/compose/compose-file/index.md#replicas)
|
||||
under the [deploy](/compose/compose-file/index.md#deploy) key as part of a
|
||||
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`.
|
||||
|
|
Loading…
Reference in New Issue