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 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.