The world is constantly being attracted towards containers and its orchestration especially in large and dynamic environments which has also led to the rising of various tools and platforms in trend.Yes, we will be looking at Docker-Swarm and some of its key components !!!

As we all know that Docker is a major player in the world of containers and therefore in this blog, we will be exploring what it offers in terms of orchestration.

Also here I am assuming that the reader is prior aware of the basic docker concepts like container, image, etc.

What is a Docker Swarm?

Swarm is a fully integrated and built-in container orchestration tool provided by Docker. It is a set of nodes i.e Docker hosts which are running in swarm mode with at least one master node and several worker nodes that can be virtual or physical machines.

It allows the user to manage multiple containers deployed across multiple host machines also while in swarm mode, you can still run standalone containers on any of the Docker hosts.

But when a container is running in service mode, swarm takes over and manages the life-cycle of the service and constantly maintains the desired number of replicas, as specified in the definition.

Swarm Architecture

Now as we have covered a bit about Docker-Swarm, let’s look at its components now.

Swarm-Cluster Architecture

Swarm Architecture

The major components of a swarm cluster include nodes ( worker & manager ), services, docker client.

#cluster #devops #docker #tech blogs #docker service

Orchestration With Docker-Swarm
1.25 GEEK