lab playground

Docker Swarm Playground

Beginner
Up to 4h
442
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

About the author

Avatar
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Students
220,414
Labs
223
Courses
9
Learning paths
57

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

LinkedIn, Twitter, GitHub

Covered topics

Lab steps

Docker Swarm Playground