diff --git a/_layouts/docs.html b/_layouts/docs.html index 0c6c0fba4c..1e5fab10bf 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -301,7 +301,6 @@ ng\:form { {% endif %}
On this page:
{% include toc_pure_liquid.html html=my_content sanitize=true class="inline_toc" id="my_toc" toc_min=my_min toc_max=my_max page_name=my_name %}
{% endunless %} -
{{content}}
diff --git a/compose/reference/scale.md b/compose/reference/scale.md index fbf6b2b777..834a075869 100644 --- a/compose/reference/scale.md +++ b/compose/reference/scale.md @@ -13,3 +13,9 @@ Sets the number of containers to run for a service. Numbers are specified as arguments in the form `service=num`. For example: docker-compose scale web=2 worker=3 + +>**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/).