SlideShare a Scribd company logo
Introduction to Docker Networking
& Docker Swarm Mode
Phi Huynh
A bit history
 Docker Networking
 Docker Swarm Mode (Docker v1.12)
 Demo
 Q&A
Agenda
 Pre-defined Networks
 Bridge (default) - Containers in local Docker0 bridge
 Null - Containers has no network interface
 Host - Containers use host’s network interface
 Multi-Host Network (Docker v1.9)
 Overlay network
Docker Networking
Bridge Network
Host Machine
vnet-1
10.10.0.0/16
container 4 container 5
container 1 container 2 container 3
Bridge Network (Continued)
Host Machine
frontend-net
10.11.0.0/16
container 2 container 4
container 1 container 3 container 5
backend-net
10.12.0.0/16
container 6
Multi-host Networking - Overlay Network (from Docker 1.9)
Host Machine 1
vnet-1
10.0.0.0/24
container 2 container 4
container 1 container 3 container 5
container 6
Host Machine 2
Reference source
Overlay Network (Continued)
Docker Networking Demo
Docker Networking
Docker Swarm Introduction
Without Swarm
Docker Swarm Introduction
Docker Swarm
Docker Swarm Introduction
Docker Swarm
 Virtualize many Docker Engines as one
unified Engine
 Use the same Standard Docker API
 High-Availability
 Resource Management
 Advance Scheduling
 Multiple discovery back-ends…
 TLS
 ...
Docker Swarm Mode Introduction (Docker v1.12)
Images source: http://blog.nigelpoulton.com/docker-launches-kubernetes-killer/
 Swarm Mode Manager
 Swarm Mode Worker
 Scaling, desired state
 Service Discovery
 Load Balancing
 Blue-print Deployment
 Certificate Authority
 TLS
 …
Swarm Mode Features
Self-Healing
Manager
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
Service name: aspnet
Scale to 10 instances
If 2 instances were off
=> Create another 2
new instances
node-1 node-2 node-3
node-0
Manager
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet
aspnet
Self-Organizing
aspnet
node-1 node-2 node-3
node-0
Blue-print Deployment
Manager
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
$ docker service update 
--update-delay 10s 
--update-parallelism 2 
--image trumhemcut/aspnetcore:2.0 aspnet
node-1 node-2 node-3
Waiting for 10s…
node-0
Load Balancer in Swarm Mode (Routing Mesh)
Manager
:5000 :5000 :5000
:5000
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
node-1 node-2 node-3
Load Balancer in Swarm Mode (Routing Mesh)
Manager
:5000 :5000 :5000
:5000
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
node-1 node-2 node-3
Load Balancer in Swarm Mode (Routing Mesh)
No more manual setup steps
 Load Balancer
 Service Discovery
 Registrator
 Consul Template
Manager
:5000 :5000 :5000
:5000
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
aspnet aspnet
node-1 node-2 node-3
Docker Networking & Swarm Mode Introduction
Thank you.
©2016 NashTech – Disclaimer cop to go here.
NashTech – The Power to Innovatewww.nashtechglobal.com

More Related Content

What's hot (20)

PDF
Docker Online Meetup #28: Production-Ready Docker Swarm
Docker, Inc.
 
PPTX
Docker Machine & Docker Swarm
Guillermo Lucero
 
PDF
ContainerDayVietnam2016: Lesson Leanred on Docker 1.12 and Swarm Mode
Docker-Hanoi
 
PDF
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
Docker, Inc.
 
PPTX
Docker Swarm Introduction
rajdeep
 
PPTX
Introduction to docker swarm
Walid Ashraf
 
PDF
Docker swarm
Alberto Guimarães Viana
 
PDF
Consul and docker swarm cluster
Eueung Mulyana
 
PDF
Docker Swarm 45-min Workshop (Mountain View Docker Meetup 2/24/2016)
Mike Goelzer
 
PDF
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
Giovanni Toraldo
 
PDF
Going Production with Docker and Swarm
C4Media
 
PPTX
Swarm - A Docker Clustering System
snrism
 
PDF
Docker Swarm 0.2.0
Docker, Inc.
 
PDF
Docker swarm reloaded
Govinda Fichtner
 
PDF
Docker 1.11 @ Docker SF Meetup
Docker, Inc.
 
PPTX
Container Orchestration with Docker Swarm
Frederik Mogensen
 
PDF
Docker Swarm & Machine
Eueung Mulyana
 
PDF
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Brice Argenson
 
PPTX
Docker cluster with swarm, consul, registrator and consul-template
Julien Maitrehenry
 
PDF
Containerd: Building a Container Supervisor by Michael Crosby
Docker, Inc.
 
Docker Online Meetup #28: Production-Ready Docker Swarm
Docker, Inc.
 
Docker Machine & Docker Swarm
Guillermo Lucero
 
ContainerDayVietnam2016: Lesson Leanred on Docker 1.12 and Swarm Mode
Docker-Hanoi
 
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
Docker, Inc.
 
Docker Swarm Introduction
rajdeep
 
Introduction to docker swarm
Walid Ashraf
 
Consul and docker swarm cluster
Eueung Mulyana
 
Docker Swarm 45-min Workshop (Mountain View Docker Meetup 2/24/2016)
Mike Goelzer
 
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
Giovanni Toraldo
 
Going Production with Docker and Swarm
C4Media
 
Swarm - A Docker Clustering System
snrism
 
Docker Swarm 0.2.0
Docker, Inc.
 
Docker swarm reloaded
Govinda Fichtner
 
Docker 1.11 @ Docker SF Meetup
Docker, Inc.
 
Container Orchestration with Docker Swarm
Frederik Mogensen
 
Docker Swarm & Machine
Eueung Mulyana
 
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Brice Argenson
 
Docker cluster with swarm, consul, registrator and consul-template
Julien Maitrehenry
 
Containerd: Building a Container Supervisor by Michael Crosby
Docker, Inc.
 

Viewers also liked (20)

PPTX
NashTech - Azure IoT Solutions on Microsoft Azure
Phi Huynh
 
PPTX
Docker Networking: Control plane and Data plane
Docker, Inc.
 
PDF
Docker Networking Deep Dive
Docker, Inc.
 
PPTX
Docker networking Tutorial 101
LorisPack Project
 
PPTX
Docker networking basics & coupling with Software Defined Networks
Adrien Blind
 
PPTX
DockerCon US 2016 - Docker Networking deep dive
Madhu Venugopal
 
PDF
Docker 1.12 - Swarm Mode
Rafael Gomes
 
PDF
Docker Networking – Running multi-host applications
Christina Rasimus
 
PPT
Docker Multi Host Networking, Rachit Arora, IBM
Neependra Khare
 
PDF
Lesson Learned from Using Docker Swarm at Pronto
Kan Ouivirach, Ph.D.
 
PDF
Octo talk : docker multi-host networking
Hervé Leclerc
 
PDF
Docker Swarm: Docker Native Clustering
Docker, Inc.
 
PPTX
Docker 101 - Nov 2016
Docker, Inc.
 
PPTX
Docker Online Meetup: Announcing Docker CE + EE
Docker, Inc.
 
PDF
Docker Swarm 1.12 Overview and Demo
Brian Christner
 
PDF
Docker 1.12 (dockercon recap)
Nguyen Anh Tu
 
PDF
Simplifying open stack and kubernetes networking with romana
Juergen Brendel
 
PPTX
Docker meetup
syed1
 
PPTX
Container Networking Challenges for Production Readiness
Vipin Jain
 
PDF
Megatrends2017extfullfinal slideshare-170104014006
Doug Warner
 
NashTech - Azure IoT Solutions on Microsoft Azure
Phi Huynh
 
Docker Networking: Control plane and Data plane
Docker, Inc.
 
Docker Networking Deep Dive
Docker, Inc.
 
Docker networking Tutorial 101
LorisPack Project
 
Docker networking basics & coupling with Software Defined Networks
Adrien Blind
 
DockerCon US 2016 - Docker Networking deep dive
Madhu Venugopal
 
Docker 1.12 - Swarm Mode
Rafael Gomes
 
Docker Networking – Running multi-host applications
Christina Rasimus
 
Docker Multi Host Networking, Rachit Arora, IBM
Neependra Khare
 
Lesson Learned from Using Docker Swarm at Pronto
Kan Ouivirach, Ph.D.
 
Octo talk : docker multi-host networking
Hervé Leclerc
 
Docker Swarm: Docker Native Clustering
Docker, Inc.
 
Docker 101 - Nov 2016
Docker, Inc.
 
Docker Online Meetup: Announcing Docker CE + EE
Docker, Inc.
 
Docker Swarm 1.12 Overview and Demo
Brian Christner
 
Docker 1.12 (dockercon recap)
Nguyen Anh Tu
 
Simplifying open stack and kubernetes networking with romana
Juergen Brendel
 
Docker meetup
syed1
 
Container Networking Challenges for Production Readiness
Vipin Jain
 
Megatrends2017extfullfinal slideshare-170104014006
Doug Warner
 
Ad

Similar to Docker Networking & Swarm Mode Introduction (20)

PDF
Deep Dive into Docker Swarm Mode
Ajeet Singh Raina
 
PDF
New Docker Features for Orchestration and Containers
Jeff Anderson
 
PDF
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
Mike Goelzer
 
PDF
What's New in Docker 1.12 by Mike Goelzer and Andrea Luzzardi
Docker, Inc.
 
PDF
Docker Swarm Mode Orchestration
Alican Akkuş
 
PDF
Dokcer swarm
Tanmay Mehra
 
PDF
What's New in Docker 1.12 by Nishant Totla for Docker SF Meetup 08.03.16
Docker, Inc.
 
PPTX
Codemotion Rome 2018 Docker Swarm Mode
Simone Soldateschi
 
PDF
Docker Orchestration at Production Scale
Docker, Inc.
 
PDF
Docker
SangtongPeesing
 
PDF
What's New in Docker 1.12?
Ajeet Singh Raina
 
PDF
Docker HK Meetup - 201707
Clarence Ho
 
PDF
Load-balancing high-available web-app with Docker Swarm cluster. - Simone Sol...
Codemotion
 
PPTX
Academy PRO: Docker. Lecture 3
Binary Studio
 
PDF
11thDockerMeetupSwitzerland
Michael Mueller
 
PPTX
Nats meetup oct 2016 docker 112
Nirmal Mehta
 
PDF
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Docker, Inc.
 
PPTX
Introduction To Docker, Docker Compose, Docker Swarm
An Nguyen
 
PDF
Container Orchestrator Smackdown @ContinousLifecycle
Michael Mueller
 
PDF
Service Discovery & Load-Balancing under Docker 1.12.0 @ Docker Meetup #22
Ajeet Singh Raina
 
Deep Dive into Docker Swarm Mode
Ajeet Singh Raina
 
New Docker Features for Orchestration and Containers
Jeff Anderson
 
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
Mike Goelzer
 
What's New in Docker 1.12 by Mike Goelzer and Andrea Luzzardi
Docker, Inc.
 
Docker Swarm Mode Orchestration
Alican Akkuş
 
Dokcer swarm
Tanmay Mehra
 
What's New in Docker 1.12 by Nishant Totla for Docker SF Meetup 08.03.16
Docker, Inc.
 
Codemotion Rome 2018 Docker Swarm Mode
Simone Soldateschi
 
Docker Orchestration at Production Scale
Docker, Inc.
 
What's New in Docker 1.12?
Ajeet Singh Raina
 
Docker HK Meetup - 201707
Clarence Ho
 
Load-balancing high-available web-app with Docker Swarm cluster. - Simone Sol...
Codemotion
 
Academy PRO: Docker. Lecture 3
Binary Studio
 
11thDockerMeetupSwitzerland
Michael Mueller
 
Nats meetup oct 2016 docker 112
Nirmal Mehta
 
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Docker, Inc.
 
Introduction To Docker, Docker Compose, Docker Swarm
An Nguyen
 
Container Orchestrator Smackdown @ContinousLifecycle
Michael Mueller
 
Service Discovery & Load-Balancing under Docker 1.12.0 @ Docker Meetup #22
Ajeet Singh Raina
 
Ad

Recently uploaded (20)

PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
DOCX
Import Data Form Excel to Tally Services
Tally xperts
 
PPTX
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
PDF
Executive Business Intelligence Dashboards
vandeslie24
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
PDF
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Import Data Form Excel to Tally Services
Tally xperts
 
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
Executive Business Intelligence Dashboards
vandeslie24
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Human Resources Information System (HRIS)
Amity University, Patna
 
Mobile CMMS Solutions Empowering the Frontline Workforce
CryotosCMMSSoftware
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 

Docker Networking & Swarm Mode Introduction

Editor's Notes

  • #3: Lay cam hung tu buoi noi chuyen cua cac ban di truoc (Phuong Le, Phu Le, Trung Dang) Gia su cac ban da biet ve Docker Basic Se co gang demo de cho cac ban nam bat duoc ca’c khai niem
  • #4: Lay cam hung tu buoi noi chuyen cua cac ban di truoc (Phuong Le, Phu Le, Trung Dang) Gia su cac ban da biet ve Docker Basic Se co gang demo de cho cac ban nam bat duoc ca’c khai niem
  • #6: Thanh nien song ao Sieu anh hung trong game / mac du doi that co’ the ko biet lam Co the thay the IT mac du ko biet bam day mang ntn
  • #11: Native clustering Docker Multi-host Multi-containers
  • #12: Native clustering Docker Multi-host Multi-containers
  • #13: Native clustering Docker Multi-host Multi-containers