© Adam Freeman 2017

Adam Freeman, Essential Docker for ASP.NET Core MVC, 10.1007/978-1-4842-2778-7_7

7. Docker Swarms

Adam Freeman

(1)London, UK

In the previous chapter, I demonstrated how to manage a complex application on a single server using Docker Compose. In this chapter, I explain how to scale up applications so they run on multiple servers, using a Docker swarm.

A Docker swarm is a cluster of servers that run the Docker engine. Each server in a swarm is known as a node, of which there are two types. Manager nodes are used to orchestrate services, which are the desired state for containerized applications, such as the example ASP.NET Core MVC application or MySQL. A service describes how many containers should be created and which nodes in ...

Get Essential Docker for ASP.NET Core MVC 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.