From 61aa60d039b68b679b64db36260e2eddd6115337 Mon Sep 17 00:00:00 2001 From: Victoria Bialas Date: Fri, 7 Apr 2017 11:38:21 -0700 Subject: [PATCH] clarified relationship btwn scale and replicas (#2683) Signed-off-by: Victoria Bialas --- compose/reference/scale.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compose/reference/scale.md b/compose/reference/scale.md index 438130c9bf..8cee2797ec 100644 --- a/compose/reference/scale.md +++ b/compose/reference/scale.md @@ -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`.