Docker Scaling a service


Example

This example will scale the service to 4 instances:

docker service scale visualizer=4

In Docker Swarm Mode we do not stop a service. We scale it down to zero:

docker service scale visualizer=0