Docker Swarm provides a number interesting features. Let's walk through the most important ones:
- Load balancing: Docker Swarm takes care of the load balancing and assigning unique DNS names so that the application deployed on the cluster can be used in the same way as deployed on a single Docker host. In other words, a swarm can publish ports in a similar manner as the Docker container, and then the swarm manager distributes requests among the services in the cluster.
- Dynamic role management: Docker hosts can be added to the swarm at runtime, so there is no need for a cluster restart. What's more, the role of the node (manager or worker) can also be dynamically changed.
- Dynamic service scaling: Each service ...