lab playground

Docker Swarm Playground

Difficulty: Beginner
Duration: Up to 4 hours
Students: 454
Rating: 4/5
Free playExplore without specific objectives or guided instruction.
Real-world experiencePractice in a live, pre-configured sandbox environment.

Description

Docker allows you to orchestrate containers across multiple Docker engine hosts by running in a swarm mode cluster. Docker swarm mode is a production-ready solution for taking containers to production by providing high availability, desired state reconcillidation, scaling, and much more. 

The playground provides a Docker swarm cluster comprised of one manager node and two worker nodes. You have full access to an swarm nodes with, each having dockerdocker-compose, and relevant command-line completions already installed and running. You have full access to the underlying host as well so you are not restricted compared to an environment that runs Docker in Docker (dind).

The playground is a safe and secure sandbox environment for you to explore your own ideas, follow along with Cloud Academy courses, or answer your own questions all without the need to install any software on your local machine. The extended duration of this playground provides you with ample time to play to your heart's content. Have fun in this Docker Swarm playground!

Intended Audience

This lab is intended for:

  • Anyone deploying containerized applications
  • Site Reliability Engineers (SREs)
  • DevOps Engineers
  • Operations Engineers
  • Full Stack Developers

Prerequisites

You should be familiar with:

  • Working with Docker and being comfortable using it at the command line

Updates

July 26th, 2023 - Resolved an issue preventing the cluster from provisioning successfully on occasion

May 2nd, 2022 - Resolved an issue causing Docker not to be installed on the cluster nodes

Covered topics

Lab steps

Docker Swarm Playground