SlideShare a Scribd company logo
@abronan
Swarm goes stable and v1.0
with a cute new logo
@abronan
Single docker engine
Docker
CLI
Multiple Docker Engines == Swarm
Docker
CLI
Managers
Agents
CLI
Docker Hub
Token service
etcd
consul
zookeeper
Simple FileMachine
discovery
libkv
Timeline
Oct
Nov
Dec
Jan
Feb
Jun
Proof of Concept
DockerCon EU
Open Repository
First Release Candidate
Swarm Beta Release
Global Hack Day
Open Proposal
0.2.0 Release
0.3.0 Release
Apr
Aug
0.4.0 Release
Oct
1.0.0 Release
Swarm in General
• Turns a set of Docker Engines into a single pool of resources
• Supports the Docker REST API (99%)
• Resource management (CPU, Mem, Networking)
• Advanced scheduling with constraints and affinities
• Multiple Discovery Backends (hub, etcd, consul, zookeeper)
• TLS: Encryption & Authentication
• Multi Tenancy / Leader Election
New release highlights
• Improved scheduler
• Multi-Host Networking
- network management, overlay networking (vxlan)
• Volume management - using volume plugins
- stateful containers, distributed volumes (Ceph, GlusterFS, ZFS/Flocker)
• Quality of life improvements
- build-time constraints (ARG), unless-stopped restart policy, fixed concurrent pull
• Better integration with Compose
• More tests / code cleanup / bug fixes
Production ready
• Stable, can be used in production environment
• Stress tested on 1000 EC2 nodes
• Still lots of improvements to come, on the roadmap for 1.1:
- container rebalancing
- global scheduling
• Rationale: Keep it simple to use/operate. Hear back from users and only
include what is wanted/needed by the community
- example: networking, build time constraints, etc.
Multi-Host Networking
Multi-Host networking
• Announced as part of the experimental release in DockerCon SF
June
• Now in docker stable!
• Allows you to create overlay networks between containers using the
vxlan driver
• Each container connected to the same overlay network are able to
see and discover each other
$ docker network --help
Usage: docker network [OPTIONS] COMMAND [OPTIONS]
Commands:
rm Remove a network
create Create a network
connect Connect container to a network
disconnect Disconnect container from a network
inspect Display detailed network information
ls List all networks
A wild docker network appears
Swarm / Networking
Docker
CLI
Managers
Agents
CLI
Docker Hub
Token service
etcd
consul
zookeeper
Simple FileMachine
discovery
libkv
Overlay networking (vxlan)
GCE Azure EC2
Digital Ocean
node04 node05 node06
node01node02node03
laptop
GCE Azure EC2
Digital Ocean
node04 node05 node06
node01node02node03
laptop
GCE Azure EC2
Digital Ocean
node04 node05 node06
node01node02node03
laptop
overlay-1
GCE Azure EC2
Digital Ocean
node04 node05 node06
node01node02node03
laptop
app1 app2 db1
app3 db2
Demo time!
$ docker volume --help
Usage: docker volume [OPTIONS] [COMMAND]
Manage Docker volumes
Commands:
create Create a volume
inspect Return low-level information on a volume
ls List volumes
rm Remove a volume
Volume management
$ docker volume create --name=data
data
Volume management - example
$ docker run -ti -v data:/data alpine /bin/sh -c “echo hello > /data/world”
$ docker run -ti -v data:/data alpine cat /data/world
hello
Create a volume
Run a container with the volume
Running another container with that volume
Volume Plugins
Docker cluster Ceph cluster
create volume
yes sure!
volume
mount
Better integration with Machine
and Compose
Swarm + Machine + Compose
Docker
CLICompose
Compose
Machine
.yml Description
up / scale / stop/ kill / rm
create / destroy
http://github.com/docker/swarm
@abronan
Thank You. Questions?

More Related Content

PDF
Service Discovery & Load-Balancing under Docker 1.12.0 @ Docker Meetup #22
PPTX
Load Balancing Apps in Docker Swarm with NGINX
PDF
What's New in Docker 1.12?
PDF
Nebulaworks Docker Overview 09-22-2015
PDF
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
PDF
Docker swarm-mike-goelzer-mv-meetup-45min-workshop 02242016 (1)
PPTX
Introction to docker swarm
PPTX
Docker Swarm Introduction
Service Discovery & Load-Balancing under Docker 1.12.0 @ Docker Meetup #22
Load Balancing Apps in Docker Swarm with NGINX
What's New in Docker 1.12?
Nebulaworks Docker Overview 09-22-2015
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
Docker swarm-mike-goelzer-mv-meetup-45min-workshop 02242016 (1)
Introction to docker swarm
Docker Swarm Introduction

What's hot (20)

PPTX
Docker Swarm Is Dead: Long Live Docker Swarm
PPTX
Introduction to docker swarm
PDF
Docker swarm introduction
PPTX
Docker cluster with swarm, consul, registrator and consul-template
PDF
The age of orchestration: from Docker basics to cluster management
PDF
Deploying and Scaling a Rails Application with Docker and Friends
PDF
Docker Swarm 0.2.0
PDF
PPTX
Docker Machine & Docker Swarm
PDF
Demystifying puppet
PPTX
Docker Networking : 0 to 60mph slides
PDF
Going Production with Docker and Swarm
PDF
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
PDF
runC: The little engine that could (run Docker containers) by Docker Captain ...
PDF
Consul and docker swarm cluster
PDF
Dockercon Swarm Updated
PPTX
Swarm - A Docker Clustering System
PDF
Docker Swarm Meetup (15min lightning)
PDF
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
PPTX
Docker 1.5
Docker Swarm Is Dead: Long Live Docker Swarm
Introduction to docker swarm
Docker swarm introduction
Docker cluster with swarm, consul, registrator and consul-template
The age of orchestration: from Docker basics to cluster management
Deploying and Scaling a Rails Application with Docker and Friends
Docker Swarm 0.2.0
Docker Machine & Docker Swarm
Demystifying puppet
Docker Networking : 0 to 60mph slides
Going Production with Docker and Swarm
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
runC: The little engine that could (run Docker containers) by Docker Captain ...
Consul and docker swarm cluster
Dockercon Swarm Updated
Swarm - A Docker Clustering System
Docker Swarm Meetup (15min lightning)
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
Docker 1.5
Ad

Viewers also liked (20)

PPTX
Docker introduction
PDF
Docker Swarm: Docker Native Clustering
PDF
Inside Docker for Fedora20/RHEL7
PDF
Persistent Data Storage for Docker Containers by Andre Moruga
PDF
CA Performance Manager Agility by using Docker Containers for Network Manag...
PDF
Managing Persistent Storage with Docker Containers by John Griffith and Garre...
PPTX
Docker Networking: Control plane and Data plane
PDF
Docker 101: Introduction to Docker
PPTX
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
PDF
Docker Networking Deep Dive
PDF
Docker Compose by Aanand Prasad
PDF
A Gentle Introduction To Docker And All Things Containers
PDF
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
PPTX
Docker 1.9 Feature Overview
PDF
Docker, Docker Swarm mangement tool - Gorae
PDF
Scaling Jenkins with Docker: Swarm, Kubernetes or Mesos?
PDF
Docker Networking in Swarm, Mesos and Kubernetes [Docker Meetup Santa Clara |...
PPTX
Docker Meetup Paris: enterprise Docker
PDF
Docker Meetup: Docker Networking 1.11 with Madhu Venugopal
PPTX
Dockerのキホンその2 Docker Compose Swarm Machine 利用編
Docker introduction
Docker Swarm: Docker Native Clustering
Inside Docker for Fedora20/RHEL7
Persistent Data Storage for Docker Containers by Andre Moruga
CA Performance Manager Agility by using Docker Containers for Network Manag...
Managing Persistent Storage with Docker Containers by John Griffith and Garre...
Docker Networking: Control plane and Data plane
Docker 101: Introduction to Docker
A New Centralized Volume Storage Solution for Docker and Container Cloud by W...
Docker Networking Deep Dive
Docker Compose by Aanand Prasad
A Gentle Introduction To Docker And All Things Containers
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker 1.9 Feature Overview
Docker, Docker Swarm mangement tool - Gorae
Scaling Jenkins with Docker: Swarm, Kubernetes or Mesos?
Docker Networking in Swarm, Mesos and Kubernetes [Docker Meetup Santa Clara |...
Docker Meetup Paris: enterprise Docker
Docker Meetup: Docker Networking 1.11 with Madhu Venugopal
Dockerのキホンその2 Docker Compose Swarm Machine 利用編
Ad

Similar to Docker Online Meetup #28: Production-Ready Docker Swarm (20)

PDF
Swarm docker bangalore_meetup
PDF
Docker Swarm 45-min Workshop (Mountain View Docker Meetup 2/24/2016)
PPT
14309525_docker_docker_docker_docker_introduction.ppt
PPTX
Docker Introduction and its Usage in Machine Learning
PDF
Orchestrating Docker with OpenStack
PPTX
Containers and Cloud: From LXC to Docker to Kubernetes
PPTX
Docker Devoxx UK - Never mind the bollocks here's the Linux Containers
PDF
DockerDay2015: Docker orchestration for sysadmin
PDF
Containerize! Between Docker and Jube.
PPTX
Getting Started With Docker: Simplifying DevOps
PPTX
DockerCon EU 2015 Barcelona
PDF
Paolucci voxxed-days-berlin-2016-age-of-orchestration
PDF
Docker from A to Z, including Swarm and OCCS
PPTX
Docker Networking - Boulder Linux Users Group (BLUG)
PPTX
Docker 1.11 Presentation
PPTX
Cohesion Techsessie Docker - Daniel Palstra
PPTX
Docker and kubernetes_introduction
PPTX
Docker Container Security
PPTX
Best Practices for Running Kafka on Docker Containers
PDF
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
Swarm docker bangalore_meetup
Docker Swarm 45-min Workshop (Mountain View Docker Meetup 2/24/2016)
14309525_docker_docker_docker_docker_introduction.ppt
Docker Introduction and its Usage in Machine Learning
Orchestrating Docker with OpenStack
Containers and Cloud: From LXC to Docker to Kubernetes
Docker Devoxx UK - Never mind the bollocks here's the Linux Containers
DockerDay2015: Docker orchestration for sysadmin
Containerize! Between Docker and Jube.
Getting Started With Docker: Simplifying DevOps
DockerCon EU 2015 Barcelona
Paolucci voxxed-days-berlin-2016-age-of-orchestration
Docker from A to Z, including Swarm and OCCS
Docker Networking - Boulder Linux Users Group (BLUG)
Docker 1.11 Presentation
Cohesion Techsessie Docker - Daniel Palstra
Docker and kubernetes_introduction
Docker Container Security
Best Practices for Running Kafka on Docker Containers
Docker in the Oracle Universe / WebLogic 12c / OFM 12c

More from Docker, Inc. (20)

PDF
Containerize Your Game Server for the Best Multiplayer Experience
PDF
How to Improve Your Image Builds Using Advance Docker Build
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
Securing Your Containerized Applications with NGINX
PDF
How To Build and Run Node Apps with Docker and Compose
PDF
Hands-on Helm
PDF
Distributed Deep Learning with Docker at Salesforce
PDF
The First 10M Pulls: Building The Official Curl Image for Docker Hub
PDF
Monitoring in a Microservices World
PDF
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
PDF
Predicting Space Weather with Docker
PDF
Become a Docker Power User With Microsoft Visual Studio Code
PDF
How to Use Mirroring and Caching to Optimize your Container Registry
PDF
Monolithic to Microservices + Docker = SDLC on Steroids!
PDF
Kubernetes at Datadog Scale
PDF
Labels, Labels, Labels
PDF
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
PDF
Build & Deploy Multi-Container Applications to AWS
PDF
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
PDF
Developing with Docker for the Arm Architecture
Containerize Your Game Server for the Best Multiplayer Experience
How to Improve Your Image Builds Using Advance Docker Build
Build & Deploy Multi-Container Applications to AWS
Securing Your Containerized Applications with NGINX
How To Build and Run Node Apps with Docker and Compose
Hands-on Helm
Distributed Deep Learning with Docker at Salesforce
The First 10M Pulls: Building The Official Curl Image for Docker Hub
Monitoring in a Microservices World
COVID-19 in Italy: How Docker is Helping the Biggest Italian IT Company Conti...
Predicting Space Weather with Docker
Become a Docker Power User With Microsoft Visual Studio Code
How to Use Mirroring and Caching to Optimize your Container Registry
Monolithic to Microservices + Docker = SDLC on Steroids!
Kubernetes at Datadog Scale
Labels, Labels, Labels
Using Docker Hub at Scale to Support Micro Focus' Delivery and Deployment Model
Build & Deploy Multi-Container Applications to AWS
From Fortran on the Desktop to Kubernetes in the Cloud: A Windows Migration S...
Developing with Docker for the Arm Architecture

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Approach and Philosophy of On baking technology
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
Unlocking AI with Model Context Protocol (MCP)
Dropbox Q2 2025 Financial Results & Investor Presentation
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Approach and Philosophy of On baking technology
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Monthly Chronicles - July 2025
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Big Data Technologies - Introduction.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
GamePlan Trading System Review: Professional Trader's Honest Take
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Docker Online Meetup #28: Production-Ready Docker Swarm

  • 1. @abronan Swarm goes stable and v1.0 with a cute new logo @abronan
  • 3. Multiple Docker Engines == Swarm Docker CLI Managers Agents CLI Docker Hub Token service etcd consul zookeeper Simple FileMachine discovery libkv
  • 4. Timeline Oct Nov Dec Jan Feb Jun Proof of Concept DockerCon EU Open Repository First Release Candidate Swarm Beta Release Global Hack Day Open Proposal 0.2.0 Release 0.3.0 Release Apr Aug 0.4.0 Release Oct 1.0.0 Release
  • 5. Swarm in General • Turns a set of Docker Engines into a single pool of resources • Supports the Docker REST API (99%) • Resource management (CPU, Mem, Networking) • Advanced scheduling with constraints and affinities • Multiple Discovery Backends (hub, etcd, consul, zookeeper) • TLS: Encryption & Authentication • Multi Tenancy / Leader Election
  • 6. New release highlights • Improved scheduler • Multi-Host Networking - network management, overlay networking (vxlan) • Volume management - using volume plugins - stateful containers, distributed volumes (Ceph, GlusterFS, ZFS/Flocker) • Quality of life improvements - build-time constraints (ARG), unless-stopped restart policy, fixed concurrent pull • Better integration with Compose • More tests / code cleanup / bug fixes
  • 7. Production ready • Stable, can be used in production environment • Stress tested on 1000 EC2 nodes • Still lots of improvements to come, on the roadmap for 1.1: - container rebalancing - global scheduling • Rationale: Keep it simple to use/operate. Hear back from users and only include what is wanted/needed by the community - example: networking, build time constraints, etc.
  • 9. Multi-Host networking • Announced as part of the experimental release in DockerCon SF June • Now in docker stable! • Allows you to create overlay networks between containers using the vxlan driver • Each container connected to the same overlay network are able to see and discover each other
  • 10. $ docker network --help Usage: docker network [OPTIONS] COMMAND [OPTIONS] Commands: rm Remove a network create Create a network connect Connect container to a network disconnect Disconnect container from a network inspect Display detailed network information ls List all networks A wild docker network appears
  • 11. Swarm / Networking Docker CLI Managers Agents CLI Docker Hub Token service etcd consul zookeeper Simple FileMachine discovery libkv Overlay networking (vxlan)
  • 12. GCE Azure EC2 Digital Ocean node04 node05 node06 node01node02node03 laptop
  • 13. GCE Azure EC2 Digital Ocean node04 node05 node06 node01node02node03 laptop
  • 14. GCE Azure EC2 Digital Ocean node04 node05 node06 node01node02node03 laptop overlay-1
  • 15. GCE Azure EC2 Digital Ocean node04 node05 node06 node01node02node03 laptop app1 app2 db1 app3 db2
  • 17. $ docker volume --help Usage: docker volume [OPTIONS] [COMMAND] Manage Docker volumes Commands: create Create a volume inspect Return low-level information on a volume ls List volumes rm Remove a volume Volume management
  • 18. $ docker volume create --name=data data Volume management - example $ docker run -ti -v data:/data alpine /bin/sh -c “echo hello > /data/world” $ docker run -ti -v data:/data alpine cat /data/world hello Create a volume Run a container with the volume Running another container with that volume
  • 19. Volume Plugins Docker cluster Ceph cluster create volume yes sure! volume mount
  • 20. Better integration with Machine and Compose
  • 21. Swarm + Machine + Compose Docker CLICompose Compose Machine .yml Description up / scale / stop/ kill / rm create / destroy