DevOps Docker

Docker Swarm: Complete Guide to Container Orchestration as a Kubernetes Alternative

Container orchestration with Docker Swarm: services, replicas, rolling updates, and deployment on multi-node clusters.

Course description

Docker Swarm: container orchestration for scalable applications

When your containers need to run across multiple machines and handle variable loads, you need an orchestrator. Docker Swarm is Docker's native solution — simpler than Kubernetes, perfect for teams already using Docker who want to make the leap to distributed infrastructure without excessive complexity.

What You'll Learn

  • Swarm architecture: manager nodes, worker nodes and how they coordinate
  • Creating and managing services and automatic replicas
  • Configuring replica policies within nodes
  • Rolling updates: updating containers without downtime
  • Defining complex services with Docker Compose on a Swarm cluster
  • Updating production images with zero service interruption

Why Swarm and Not Kubernetes Right Away?

Kubernetes is powerful but has a steep learning curve. Docker Swarm lets you orchestrate containers on real clusters with a familiar syntax — if you already know Docker Compose, you're already halfway there. It's the right choice for those who want orchestration without months of study.

Who This Course Is For

Developers and DevOps engineers who already use Docker and want to bring their applications to distributed infrastructures. Intermediate level: it's assumed you already know what images, containers and Docker Compose are.

Lessons list

I'll introduce you to Docker Swarm: let's discover what it is, how the architecture works with manager nodes and worker nodes, and why it's the ideal choice for orchestrating containers on distributed infrastructures.

Guarda lezione

Let's see how to create and manage services in Docker Swarm with automatic replicas: I'll show you how to configure the number of instances and how the cluster distributes them across available nodes.

Guarda lezione

I'll go deeper into replica management within a single Docker Swarm node and rollout policies: how the cluster balances load and reacts to configuration changes.

Guarda lezione

I'll show you how to safely update Docker Swarm services using rolling updates: we'll update containers gradually with zero downtime, keeping the service continuously available.

Guarda lezione

Let's use Docker Compose to define a service on a Docker Swarm cluster and manage image updates in production without any service interruption.

Guarda lezione
Giovanni Pace

Giovanni Pace

Ingegnere Informatico · Pratola Peligna

  • 107 Courses
About the teacher

Sono un ingegnere informatico con oltre 15 anni di esperienza nel settore ICT. Mi occupo di sviluppo software, cybersecurity, data science e intelligenza artificiale, con particolare attenzione all’innovazione e all’automazione dei processi aziendali. Da anni svolgo anche attività di docenza e formazione, creando percorsi pratici e coinvolgenti su programmazione, DevOps, AI e sicurezza informatica.

This course includes

  • Lessons 5
  • Duration 1h 1m
  • Difficulty intermedio
  • Language it
  • Certificate No

Recently viewed