Docker Swarm

From GM-RKB
Jump to navigation Jump to search

A Docker Swarm is a container orchestration system developed to manage clusters of Docker containers.

  • Context:
    • It can (typically) transform a pool of Docker hosts into a single, virtual host, simplifying container management across multiple Docker nodes.
    • It can (often) enable the seamless scaling of applications by allowing users to deploy, manage, and scale containerized applications across multiple Docker hosts.
    • It can range from small-scale applications suitable for basic orchestration to large-scale applications requiring complex management and automation.
    • It can support load balancing and high availability of services, utilizing a built-in routing mesh to distribute service requests efficiently across all nodes in the cluster.
    • It can provide robust tools for managing secrets and configurations, ensuring sensitive data like passwords or API keys are securely stored and handled within the cluster.
    • ...
  • Example(s):
    • A tech company uses Docker Swarm to manage its microservices architecture, ensuring that all services are evenly distributed across the available nodes and can handle incoming traffic through automatic load balancing.
    • An online retailer implements Docker Swarm to manage a shopping cart application, using Docker Swarm's scaling capabilities to handle varying loads during sales events.
    • ...
  • Counter-Example(s):
  • See: Cluster Management System, Microservices, Virtual Machine, DevOps, Open Container Initiative, Decentralized Computing System, Distributed Computer System.


References

2024a

  • (Wikipedia, 2024) ⇒ https://en.wikipedia.org/wiki/Docker_(software)#Tools Retrieved:2024-5-12.
    • QUOTE: (...)
      • (...)
      • Docker Swarm provides native clustering functionality for Docker containers, which turns a group of Docker engines into a single virtual Docker engine. In Docker 1.12 and higher, Swarm mode is integrated with Docker Engine. The docker swarm CLI utility allows users to run Swarm containers, create discovery tokens, list nodes in the cluster, and more. The docker node CLI utility allows users to run various commands to manage nodes in a swarm, for example, listing the nodes in a swarm, updating nodes, and removing nodes from the swarm. Docker manages swarms using the Raft consensus algorithm. According to Raft, for an update to be performed, the majority of Swarm nodes need to agree on the update.
      • (...)

2024b

2024c