O'Reilly logo

Native Docker Clustering with Swarm by Chanwit Kaewkasi, Fabrizio Soppelsa

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Meeting Docker Swarm Mode

At Dockercon 16, the Docker team presented a new way of operating Swarm clusters, called Swarm Mode. The announcement was slightly anticipated by the introduction of a new set of tools, said to operate distributed systems at any scale called Swarmkit.

In this chapter, we will:

  • Introduce Swarmkit
  • Introduce Swarm Mode
  • Compare Swarm v1, Swarmkit, and Swarm Mode
  • Create a test Swarmkit cluster, and launch services on it

Do not skip reading the Swarmkit section, because Swarmkit acts as a foundation for Swarm mode. Seeing Swarmkit is the way we chose to introduce Swarm Mode concepts, such as nodes, services, tasks.

We'll show how to create production-level big Swarm Mode clusters in Chapter 4, Creating a Production-Grade ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required