Docker · hands-on lab
Docker Lab 16: Start a Swarm and Run Services
Initialise a swarm, create replicated services with published ports, scale them and inspect tasks and nodes.
- 45 minutesTime in the lab
- IntermediateLevel
- 6 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
Single containers are not enough for production. You move the web site to a swarm service with several replicas.
What you will do
- Guided exercise: Initialise the swarm
- Guided exercise: A replicated service
- Lab: Scale and inspect
- Lab: Global service
- Quorumquestion
- Routing meshquestion
How it works
The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.