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 work with things at scale. That’s where Docker Swarm comes into play.

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

  • The TLDR
  • The deep dive
  • The commands

Docker Swarm - The TLDR

Docker Swarm is two main things:

  1. An enterprise-grade secure cluster of Docker hosts
  2. An engine for orchestrating 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. ...

Get Docker Deep Dive now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.