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