Docker Swarm vs. Kubernetes

Joseph Salu
May 22, 2021

Why would you be interested in clusters in the first place? Containers already provide quite a few benefits themselves, so what’s extra with Docker Swarm and Kubernetes ?

Here are some of the features you get with clusters; Auto‑scaling, Load balancing, Abstracting single machines, Zero-downtime deployments, Deployment rollback, Simplified Networking, High Availability.

Docker Swarm

  • Created by Docker Inc.
  • Part of a default installation
  • Uses the same Docker CLI and API
  • Works with Docker Compose services

Kubernetes

  • Created by Google
  • Based on Borg (internal tool used to run google search)
  • Introduces new concepts such as pods and deployments
  • Features own API and CLI (not similar to Docker)
  • Several distributions and managed services exist

Comparison between Docker Swarm and Kubernetes

--

--