hands-on lab

Manage Your Cluster Using Docker Swarm Mode

Difficulty: Intermediate
Duration: Up to 1 hour and 20 minutes
Students: 548
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Lab Overview

Docker swarm mode is Docker's integrated cluster and container orchestration feature. This Lab provides you with a pre-created cluster that is Docker swarm ready. In the Lab, you will manage your cluster using Docker swarm mode and learn common commands and capabilities. By the end, you will have implemented basic swarm monitoring, as well as deployed and scaled a multi-service application.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Manage nodes in a Docker swarm mode cluster
  • Deploy and manage services in a swarm
  • Monitor dispatched services in a swarm
  • Deploy multi-service applications to the swarm using Docker stacks

Lab Prerequisites

You should be familiar with:

  • Using Docker on Linux
  • Docker concepts including containers, images, networks, and volumes

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:

Updates

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

Covered topics

Lab steps

Logging in to the Microsoft Azure Portal
Understanding the Docker Swarm Mode Cluster Architecture
Connecting to the Lab Provisioned Azure Virtual Machine
Inspecting the Docker Swarm Mode Cluster
Deploying Your First Service to the Swarm
Monitoring Your Swarm
Deploying a Multi-Service Stack to the Swarm