Scaling and Deleting Services
Learn how to scale and remove services managed by the swarm.
We'll cover the following
Scaling services
Another powerful feature of services is the ability to scale them up and down by adding or removing replicas. Assume the business is booming and you’re experiencing double the number of requests to your web frontend. Fortunately, you can easily scale the number of replicas with the docker service scale
command.
Run the following command to scale the web-fe service from five to 10 replicas.
Get hands-on with 1400+ tech skills courses.