Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Docker Deep Dive

You're reading from   Docker Deep Dive Zero to Docker in a Single Book

Arrow left icon
Product type Paperback
Published in Jul 2023
Publisher Packt
ISBN-13 9781835081709
Length 266 pages
Edition 2nd Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Nigel Poulton Nigel Poulton
Author Profile Icon Nigel Poulton
Nigel Poulton
Arrow right icon
View More author details
Toc

10: Docker Swarm

Now that we know how to install Docker, pull images, and work with containers, the next thing we need is a way to do it all at scale. That’s where Docker Swarm comes into play.

As usual, we’ll split this chapter into three parts:

  • The TLDR
  • The deep dive
  • The commands

Docker Swarm - The TLDR

Docker Swarm is two things:

  1. An enterprise-grade secure cluster of Docker hosts
  2. An orchestrator of microservices apps

On the clustering front, Swarm groups one or more Docker nodes and lets you manage them as a cluster. Out-of-the-box, you get an encrypted distributed cluster store, encrypted networks, mutual TLS, secure cluster join tokens, and a PKI that makes managing and rotating certificates a breeze. You can even non-disruptively add and remove nodes. It’s a beautiful thing.

On the orchestration front, Swarm allows you to deploy and manage complex microservices apps with ease. You can define your apps in declarative files and deploy them...

You have been reading a chapter from
Docker Deep Dive - Second Edition
Published in: Jul 2023
Publisher: Packt
ISBN-13: 9781835081709
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image