Docker Swarm mode

We have mentioned the Swarm mode briefly in the Chapter 4Networking and Persistent Storage, when we were learning about multi-host networks. This time, we will look closer to the container clustering features of Docker. The Swarm mode is quite new feature in Docker - it's available in Docker version 1.12 and up. It means, that you can only use this in Linux, which is obvious, but if you run Docker in Windows or Mac, you can use the native Docker for Windows or Docker for Mac application. However, what Swarm is? Let's explain what was the purpose behind including the Swarm in latest Docker versions.

The purpose

Running a single application in a Docker container is easy. We already did it a number of times. But what about scaling ...

Get Developing with Docker now with O’Reilly online learning.

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