


This way, I don’t have to know which host machine is running the service. We will see an example at a later part of the tutorial. For e.g., if I have 3 machines Host1, Host2, Host3 and with routing mesh, I can run a service on Host2 alone and can invoke it by calling Host1. The swarm is represented as one host machine and any service running on any swarm machine can be invoked by using the master node. Any new feature in docker gets native support in swarm.ĭocker swarm can create multiple instances of an application. It can be scaled up or down depending on the need. The applications run in production require to be able to scale up when required, run across different host machines and able to interact with other services.We can achieve all these with docker swarm. Developers can focus on building applications than worrying about the underlying infrastructure and required softwares to run the application. Docker lets developers build shippable applications.

Docker provides its own cluster management tool called swarm.
