An Overview of Docker Swarm

Docker Swarm is a clustering tool for Docker containers. It allows you to establish and manage a cluster of Docker nodes as a single virtual system. This means we get to run Docker on multiple hosts on our computers.

We control the swarm cluster through a manager which primarily handles and controls containers. With the swarm manager, you can create a primary manager instance and multiple replica instances in case the primary fails. This means you can have more than one manager in a swarm!

Note

A swarm is created from a manager node, and other Docker machines join the cluster, either as worker nodes or manager nodes.

Clustering is important because it creates a group of cooperating systems that provide redundancy, creating ...

Get Beginning DevOps with Docker now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.