ATIX AG
  • Services
    • Consulting
      • Linux Platform Operations​
      • Infrastructure Automation
      • Container Platforms and Cloud
      • DevOps Processes, Tooling and Culture
      • Cloud Native Software Development
    • Products
      • orcharhino
        • About orcharhino
        • Support
        • orcharhino operation
      • Hangar
        • About Hangar
        • Hangar Roadmap
        • Hangar Community
    • Technologies
      • Ansible
      • Docker
      • Foreman
      • GitLab
      • Istio
      • Kubernetes
      • Linux Distributions
      • OpenShift
      • Puppet
      • OpenVox
      • Rancher
      • Rundeck
      • SaltStack
      • SUSE Manager
      • Terraform
  • Trainings
    • Ansible Training
    • Container Training
    • Docker Training
    • Git Training
    • Go Training (Golang)
    • Istio Training
    • Kubernetes Training
    • OpenShift Training
    • orcharhino Training
    • Puppet Trainings
    • Terraform Training
  • Events
    • Webinars
  • Blog
  • Company
    • About Us
    • References
    • Corporate values
    • Social engagement
    • Newsroom
    • Newsletter
    • Contact us
  • Career
  • Search
  • Menu Menu
Docker Swarm ATIX AG

Docker Swarm: A herd of containers

Welcome to Docker Swarm! Containers thrive like pack animals in large numbers, but their distribution on the servers is crucial. Docker Swarm, which has been integrated into the Docker Engine since version 1.12, is ideal for this. Learn more about manager and worker nodes, service variants, load balancing and scalability. This is part 3 of our Docker/Rancher series, in which we look at the distributed environment of Docker Swarm.

Docker Swarm

Containers are pack animals – they usually occur in large quantities. However, since every machine reaches its limits once a certain quantity has been reached, you want to distribute the containers across several servers. There are several ways to distribute the containers on a cluster. One of these is Docker Swarm.

Docker Swarm was originally made available as an extension, but since version 1.12 it has been included directly in the Docker Engine. This not only allows the containers to be distributed across multiple servers, but also offers a number of additional features.

Docker Swarm distinguishes between two server types (=nodes): manager-nodes and worker-nodes. While the worker nodes, as the name suggests, do the work, manager nodes are used to start new containers. The manager nodes then distribute the new containers to be started to the worker nodes so that all servers are utilized as evenly as possible. This creates a large Docker environment distributed across several servers that can be easily expanded.In addition, different variants of the services are also introduced by name: tasks, which are the task of the manager nodes to start new containers; services, which consist of a container that runs on one of the servers; replica services – initially like a normal container, but in multiple versions of the same server, which are distributed across the cluster; and finally global services, which consist of a container that should run once on each node in the network. A load balancer is usually introduced for the replica servers, which distributes the tasks evenly across the containers in order to distribute the load as widely as possible across the network. The scaling, i.e. the number of times a particular container should exist, can also be adjusted after the container has been started.

With a large, expandable Docker environment, a large number of containers can be started and therefore many applications can be operated in containers. In addition, scaling and load balancing make it possible to distribute loads and traffic across several servers. Since the Docker Swarm administration, like Docker, works via the command line, it is difficult to maintain an overview of a large cluster with many containers.

This is part 3 of a series of blog posts on the topic of Docker/Rancher.

Part 1 provides an overview of Docker and container environments

Part 2 explains the functions of a Docker registry and docker-compose

Part 3 introduces Docker Swarm with a Docker environment distributed across multiple hosts

Part 4 shows Rancher as an orchestration tool for Docker (and other container environments)

Part 5 contains brief information on the Rancher functions of a catalog and rancher-compose

You might also like
Workshops in the Cloud – What Ansible, Docker and the GitLab CI/CD offer for this
devopscon 2023 berlin, atix blogATIX at DevOpsCon 2023: Berlin
logging in kubernetesLogging in Kubernetes with Fluent Bit and OpenSearch
DevOps vs. Platform Engineering: Another Trend or the Next Big Thing?
kubeflow ATIX blogKubeflow at Home: AI and Kubernetes outside of Google & Co.
kubeflow ATIX blogDocker containers – a lightweight alternative to virtualization

ATIX-Crew
+ postsBio

Der ATIX-Crew besteht aus Leuten, die in unterschiedlichen Bereichen tätig sind: Consulting, Development/Engineering, Support, Vertrieb und Marketing.

  • ATIX-Crew
    https://atix.de/en/blog/author/atix-crew/
    Foreman Birthday Party 2024
  • ATIX-Crew
    https://atix.de/en/blog/author/atix-crew/
    CrewDay 2024
  • ATIX-Crew
    https://atix.de/en/blog/author/atix-crew/
    Navigating the XZ Security Vulnerability: A Comprehensive Guide
  • ATIX-Crew
    https://atix.de/en/blog/author/atix-crew/
    Automating Kafka with Ansible
Expertise that Drives your IT Forward

🎓 Webinars – Live & On-Demand
Knowledge on your schedule. Practical insights on DevOps, Open Source & IT automation.
👉 Explore now »

🛠️ Boost your skills?
Learn from those who do it every day. Professional training for modern IT.
👉 Browse trainings »

ISO Certified Certificate
Newsletter
Never miss anything again. Sign up for the ATIX newsletter!
Sign up now
Blog
  • Blog Start Page
  • ATIX Insights
  • Cloud Native
  • Container Plattformen und Cloud
  • DevOps
  • Infrastructure Automation
  • Linux Platform Operations
  • orcharhino
Privacy & Legal

Privacy Policy

Imprint

Terms and Conditions

B2B

Twitter     Facebook    LinkedIn    Xing     Youtube     mastodon=

© Copyright – ATIX AG

Scroll to top