Summary
In this chapter, we introduced Docker Swarm, which, next to Kubernetes, is the second most popular orchestrator for containers. We looked into the architecture of a Swarm, discussed all of the types of resources running in a Swarm, such as services, tasks, and more, and we created services in the Swarm. We learned how to create a Docker Swarm locally, in a special environment called PWD, as well as in the cloud. Lastly, we deployed an application that consists of multiple services related to Docker Swarm.
In the next chapter, we are going to introduce the routing mesh, which provides layer 4 routing and load balancing in a Docker Swarm. After that, we will demonstrate how to deploy a first application consisting of multiple services onto the Swarm. We will also learn how to achieve zero downtime when updating an application in the swarm and finally how to store configuration data in the swarm and how to protect sensitive data using Docker secrets. Stay tuned.