Small update to the scale documentation (#142)

* Small update to the scale documentation

Just a small update to make it a bit clearer with a bit more functionality.
This commit is contained in:
drlukeangel 2016-10-13 08:57:33 -07:00 committed by Misty Stanley-Jones
parent 1177f31b36
commit d0eaa59c88
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ Options:
### Scale a service
If you scale a service, you set the *desired* number of replicas. Even though
the command returns directly, actual scaling of the service may take some time.
The scale command enables you to scale one or more services either up or down to the desired number of replicas. The command will return immediatly, but the actual scaling of the service may take some time. To stop all replicas of a service while keeping the service active in the swarm you can set the scale to 0.
For example, the following command scales the "frontend" service to 50 tasks.