Summary
In this chapter, we covered the basic usage of Docker Swarm. We learned how to deploy a simple cluster and how to run our applications by taking advantage of Docker Swarm’s features. We learned how to use Compose YAML files to deploy stacks and define an application completely using services and tasks to finally execute its containers. Docker Swarm manages complicated networking communication cluster-wide, helping us to publish our applications for users or other applications to access. It also provides mechanisms to ensure the availability of our applications even when we trigger component updates, such as a change to a container image.
In the next chapter, we will learn the basics of Kubernetes, the most popular and advanced container orchestrator currently available.