Skip to main content

Scaling a Docker Swarm Service

Hands-On Lab


Photo of

Training Architect





For the last six months, the Acme Anvil Corporation has been migrating some of their bare metal infrastructure to Docker containers. A schism has developed between the members of your team on whether to use Docker Swarm or Kubernetes. To settle the dispute, your manager has decided to create a series of challenges. You have been tasked with setting up a Docker swarm with 5 nodes: 2 masters and 3 workers. The masters are to be configured to act only as masters. Next, you will create an httpd service with 3 replicas. Finally, you will scale the service up to 5 replicas and then down to 2.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.