0% found this document useful (0 votes)
36 views3 pages

Docker

Docker Swarm is a clustering and orchestration tool for Docker containers that allows containers to be deployed and managed across multiple Docker engines or nodes. It provides features like health checks, scaling of containers based on load, continuous software updates, and failover capabilities. A Swarm manager node controls and orchestrates the cluster, scheduling tasks among worker nodes and providing load balancing, service discovery, and other management functions. Services are made up of tasks that are allocated to worker nodes, and can be scaled at runtime to handle additional load.

Uploaded by

riaddata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views3 pages

Docker

Docker Swarm is a clustering and orchestration tool for Docker containers that allows containers to be deployed and managed across multiple Docker engines or nodes. It provides features like health checks, scaling of containers based on load, continuous software updates, and failover capabilities. A Swarm manager node controls and orchestrates the cluster, scheduling tasks among worker nodes and providing load balancing, service discovery, and other management functions. Services are made up of tasks that are allocated to worker nodes, and can be scaled at runtime to handle additional load.

Uploaded by

riaddata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Docker - Orchestrating Containers using Swarm

Docker Swarm
Docker Swarm is a clustering and a planning tool for Docker Containers. Swarm
mode also exists natively for Docker Engine, the layer between the operating
system and container images.
Why do we want a container orchestration system?
imagine that you had to run hundreds of containers. You can easily see that if
they are running in a distributed model, there are several features that you will
need from a management perspective to make sure the cluster is operational,
healthy and more.

Some of these necessary features include:


Health checks on containers

Launch of a fixed set of containers for a specific Docker image

Scaling of the number of containers from top to bottom depending on the load

Perform a continuous software update on multiple containers

Clustering - Clustering is an important feature of Container technology


because it creates a cooperative group of systems that can provide redundancy,
allowing Docker Swarm failover if one or more nodes fail.

What Swarm Offers - A Docker Swarm cluster also offers administrators and
developers the ability to add or subtract container iterations as IT demands to
evolve.

Swarm manager - An IT administrator controls Swarm via a swarm manager,


which orchestrates and schedules the containers. The swarm manager allows a
user to create a primary manager instance and multiple replica instances if the
primary instance fails. In Docker Engine Swarm mode, the user can deploy
manager and work nodes at runtime. This allows multiple machines running
Docker Engine to participate in a cluster, called swarm. Docker motors
contributing to a swarm are expected to operate in swarm mode.

The machines enter Swarm mode by initializing a new swarm or joining an


existing swarm.
Manager Node - The manager node performs the management and
orchestration of the cluster while the worker nodes perform the tasks allocated
by the manager.

Node - A Docker engine participating in the swarm is called a node. A node can
be a manager node or a worker node. A node is an instance in the Docker engine
participating in the swarm. A manager node itself, unless otherwise configured, is
also a worker node.

Service - The central entity of the Docker Swarm infrastructure is called service.
A Docker swarm performs the services. The user submits a service to the manager
node to deploy and run.

Task - A service is made up of many tasks. A task is the most basic unit of work
in a swarm. A task is allocated to each work node b the manager node.

Services can be scaled at run time to handle the additional load. The swarm
manager natively supports internal load balancing to distribute tasks among the
participating work nodes. In addition, the manager supports input load balancing
to control the exposure of Docker services to the outside world. The manager
node also supports service discovery by automatically assigning a DNS entry to
each service.

For More Information about Docker & Kubernetes Online Training ClickHere

Ph No: +91-9989971070, E-Mail ID: [email protected]

You might also like