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

PDF
Swarm mode
PDF
Docker swarm introduction
PDF
Docker 1.12 and swarm mode
PPTX
Introction to docker swarm
PDF
swarmmode-dojo
PPTX
Docker Swarm for Beginner
PPTX
Load Balancing Apps in Docker Swarm with NGINX
PDF
The age of orchestration: from Docker basics to cluster management
Swarm mode
Docker swarm introduction
Docker 1.12 and swarm mode
Introction to docker swarm
swarmmode-dojo
Docker Swarm for Beginner
Load Balancing Apps in Docker Swarm with NGINX
The age of orchestration: from Docker basics to cluster management

What's hot (20)

PDF
Docker Online Meetup #28: Production-Ready Docker Swarm
PPTX
Docker Machine & Docker Swarm
PDF
ContainerDayVietnam2016: Lesson Leanred on Docker 1.12 and Swarm Mode
PDF
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
PPTX
Docker Swarm Introduction
PPTX
Introduction to docker swarm
PDF
PDF
Consul and docker swarm cluster
PDF
Docker Swarm 45-min Workshop (Mountain View Docker Meetup 2/24/2016)
PDF
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
PDF
Going Production with Docker and Swarm
PPTX
Swarm - A Docker Clustering System
PDF
Docker Swarm 0.2.0
PDF
Docker swarm reloaded
PDF
Docker 1.11 @ Docker SF Meetup
PPTX
Container Orchestration with Docker Swarm
PDF
Docker Swarm & Machine
PDF
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
PPTX
Docker cluster with swarm, consul, registrator and consul-template
PDF
Containerd: Building a Container Supervisor by Michael Crosby
Docker Online Meetup #28: Production-Ready Docker Swarm
Docker Machine & Docker Swarm
ContainerDayVietnam2016: Lesson Leanred on Docker 1.12 and Swarm Mode
Using Docker Swarm Mode to Deploy Service Without Loss by Dongluo Chen & Nish...
Docker Swarm Introduction
Introduction to docker swarm
Consul and docker swarm cluster
Docker Swarm 45-min Workshop (Mountain View Docker Meetup 2/24/2016)
Clustering with Docker Swarm - Dockerops 2016 @ Cento (FE) Italy
Going Production with Docker and Swarm
Swarm - A Docker Clustering System
Docker Swarm 0.2.0
Docker swarm reloaded
Docker 1.11 @ Docker SF Meetup
Container Orchestration with Docker Swarm
Docker Swarm & Machine
Docker 1.12 & Swarm Mode [Montreal Docker Meetup Sept. 2016]
Docker cluster with swarm, consul, registrator and consul-template
Containerd: Building a Container Supervisor by Michael Crosby
Ad

Viewers also liked (20)

PPTX
NashTech - Azure IoT Solutions on Microsoft Azure
PPTX
Docker Networking: Control plane and Data plane
PDF
Docker Networking Deep Dive
PPTX
Docker networking Tutorial 101
PPTX
Docker networking basics & coupling with Software Defined Networks
PPTX
DockerCon US 2016 - Docker Networking deep dive
PDF
Docker 1.12 - Swarm Mode
PDF
Docker Networking – Running multi-host applications
PPT
Docker Multi Host Networking, Rachit Arora, IBM
PDF
Lesson Learned from Using Docker Swarm at Pronto
PDF
Octo talk : docker multi-host networking
PDF
Docker Swarm: Docker Native Clustering
PPTX
Docker 101 - Nov 2016
PPTX
Docker Online Meetup: Announcing Docker CE + EE
PDF
Docker Swarm 1.12 Overview and Demo
PDF
Docker 1.12 (dockercon recap)
PDF
Simplifying open stack and kubernetes networking with romana
PPTX
Docker meetup
PPTX
Container Networking Challenges for Production Readiness
PDF
Megatrends2017extfullfinal slideshare-170104014006
NashTech - Azure IoT Solutions on Microsoft Azure
Docker Networking: Control plane and Data plane
Docker Networking Deep Dive
Docker networking Tutorial 101
Docker networking basics & coupling with Software Defined Networks
DockerCon US 2016 - Docker Networking deep dive
Docker 1.12 - Swarm Mode
Docker Networking – Running multi-host applications
Docker Multi Host Networking, Rachit Arora, IBM
Lesson Learned from Using Docker Swarm at Pronto
Octo talk : docker multi-host networking
Docker Swarm: Docker Native Clustering
Docker 101 - Nov 2016
Docker Online Meetup: Announcing Docker CE + EE
Docker Swarm 1.12 Overview and Demo
Docker 1.12 (dockercon recap)
Simplifying open stack and kubernetes networking with romana
Docker meetup
Container Networking Challenges for Production Readiness
Megatrends2017extfullfinal slideshare-170104014006
Ad

Similar to Docker Networking & Swarm Mode Introduction (20)

PDF
Collabnix Online Webinar - Demystifying Docker & Kubernetes Networking by Bal...
PDF
Demystfying container-networking
PPTX
Managing multicast stream on Docker.pptx
PDF
What's New in Docker 1.12 by Mike Goelzer and Andrea Luzzardi
PDF
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
PDF
Practical Design Patterns in Docker Networking
PDF
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
PDF
Docker 1.12 networking deep dive
PDF
Docker Meetup: Docker Networking 1.11 with Madhu Venugopal
PDF
Docker 1.11 Meetup: Networking Showcase
PDF
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
PPTX
"Deploying Multi-OS Applications with Docker Swarm" with Docker's David Yu
PPTX
Dockerizing the Hard Services: Neutron and Nova
PDF
The State of Linux Containers
PPTX
DockerCon17 - Beyond the backslash
PDF
Deeper Dive in Docker Overlay Networks
PDF
Open stack networking_101_part-2_tech_deep_dive
PPTX
Docker Networking Overview
PDF
Deep Dive into Docker Swarm Mode
PDF
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
Collabnix Online Webinar - Demystifying Docker & Kubernetes Networking by Bal...
Demystfying container-networking
Managing multicast stream on Docker.pptx
What's New in Docker 1.12 by Mike Goelzer and Andrea Luzzardi
What's New in Docker 1.12 (June 20, 2016) by Mike Goelzer & Andrea Luzzardi
Practical Design Patterns in Docker Networking
JDO 2019: Tips and Tricks from Docker Captain - Łukasz Lach
Docker 1.12 networking deep dive
Docker Meetup: Docker Networking 1.11 with Madhu Venugopal
Docker 1.11 Meetup: Networking Showcase
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
"Deploying Multi-OS Applications with Docker Swarm" with Docker's David Yu
Dockerizing the Hard Services: Neutron and Nova
The State of Linux Containers
DockerCon17 - Beyond the backslash
Deeper Dive in Docker Overlay Networks
Open stack networking_101_part-2_tech_deep_dive
Docker Networking Overview
Deep Dive into Docker Swarm Mode
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable

Recently uploaded (20)

PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Transform Your Business with a Software ERP System
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPT
Introduction Database Management System for Course Database
PDF
medical staffing services at VALiNTRY
PDF
AI in Product Development-omnex systems
PDF
Digital Strategies for Manufacturing Companies
PPTX
history of c programming in notes for students .pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Materi_Pemrograman_Komputer-Looping.pptx
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Online Work Permit System for Fast Permit Processing
PPTX
Introduction to Artificial Intelligence
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
How to Choose the Right IT Partner for Your Business in Malaysia
Transform Your Business with a Software ERP System
Essential Infomation Tech presentation.pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Introduction Database Management System for Course Database
medical staffing services at VALiNTRY
AI in Product Development-omnex systems
Digital Strategies for Manufacturing Companies
history of c programming in notes for students .pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Materi_Pemrograman_Komputer-Looping.pptx
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Online Work Permit System for Fast Permit Processing
Introduction to Artificial Intelligence
ISO 45001 Occupational Health and Safety Management System
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Materi-Enum-and-Record-Data-Type (1).pptx
Odoo POS Development Services by CandidRoot Solutions
ManageIQ - Sprint 268 Review - Slide Deck

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