In this chapter, we will learn what Docker swarm is, and how to set up a Docker swarm cluster. We'll learn about all of the swarm management commands, and then we will find out more about swarm managers and swarm workers. Next, we will discover swarm services. And finally, we will find out how easy it is to access a container application running on any node in a swarm cluster.
There are currently over 17,000,000 shipping containers in the world, and 5 or 6,000,000 of them are currently shipping around the world on vessels, trucks, and trains. In total, they make around 200,000,000 trips a year.
In this chapter, we will cover the following topics:
- What is Docker swarm?
- Setting up a Docker swarm cluster
- Managers and workers
- Swarm services
- Accessing container applications in a swarm