1
0
mirror of https://github.com/docker/docs.git synced 2026-11-01 22:34:29 +03:00
Files
docs/compose/reference/scale.md
2016-09-29 17:16:03 -07:00

22 lines
422 B
Markdown

---
description: Sets the number of containers to run for a service.
keywords:
- fig, composition, compose, docker, orchestration, cli, scale
menu:
main:
parent: smn_compose_cli
title: scale
---
# scale
```
Usage: scale [SERVICE=NUM...]
```
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