SlideShare a Scribd company logo
1 of 21
Introduction
Most of cloud datacenters use virtualization which is implemented by
hypervisors such as Xen, KVM or Vsphere.
Container as a good alternative to hypervisor
Most of major IT vendors such as Google, Amazon, and Microsoft and
academic researchers have been interested in containerization of cloud
datacenters to overcome drawbacks of traditional hypervisor based
virtualization[02].
Google: 'EVERYTHING at Google runs in a container‘; Two billion containers a
week
 Docker Container, Linux Container(LxC), Warden Container, Open Vz Container.
Container
 “Containerization," an alternative to full machine virtualization in
which an application is encapsulated in a container with its own
operating environment.
 Containerization is an attractive solution that enables developers to
iterate faster.
 It also offers additional benefits that address the overhead associated
with virtual machines, allowing for higher utilization of resources in
the software-defined data center.
Virtual Machine Vs Container
Source: https://www.docker.com/
Virtualized Hardware
Operating System
Software
Application
Extra Overhead to Run Machine
Density is Limited (No of VM’s)
Virtual Machine Vs Container
Source: https://www.docker.com/
More Density (No of Container’s)
Booting time is fast
Don’t Emulate the whole hardware
Drawback is Same OS
Layers of containers
Kernel is same for all
applications
Bootfs Virtual File system to
Docker Images
Layer of Images Readable
Container Writable.
If one VM Image is require
1GB, then 100 VM’s require 100
GB
 If one Container is require
1GB, then 100 Containers
require 1GB(Sharing the Image)
Source: https://www.docker.com/
Docker Hub
Linux Containers
Linux distribution provide kernel mechanisms such as
oNamespaces: Allows groups of processes to be separated,
preventing them from seeing resources in other groups.
oControl groups: cgroups (abbreviated from control groups) is a
Linux kernel feature that limits, accounts, and isolates the resource
usage (CPU, memory, disk I/O, network, etc.) of a collection of
processes.
Documentation of cgroups-v2 first appeared in Linux kernel 4.5 released on
March 14, 2016
Linux Containers
6 Container Technologies
Docker
Docker
Docker Swarm
Linux Container(LxC)
Kubernetes
6.1 Docker
Docker is the world’s leading software container platform.
Docker is an open platform for developers and sysadmins to
build, ship, and run distributed applications, whether on
laptops, data center VMs, or the cloud.
6.1 Docker Vs VM
6.1 Docker Vs VM
7. Docker Swarm
Docker swarm mode is Docker’s solution for managing a cluster of Docker
engines running on multiple machines called SWARM, Where you can
deploy application services which are Docker Container.
Scheduler Swarm comes with a built-in scheduler. It currently provides
basic functionalities, such as scheduling containers based on constraints or
affinity (co-scheduling of containers), persistent storage and multiple
scheduling strategies like binpacking or random.
As per the document of Docker swarm they said, “We plan to add more
features to the built-in scheduler such as rebalancing (in case of host
failure) and global scheduling (schedule containers on every node)”
o Virtual Container ID
o Rebalancing
o Global scheduling
Source: https://github.com/docker/swarm/blob/master/ROADMAP.md Posted May 27,2016
7. Scheduling Using Docker Swarm
Swarm available filters
 Port
 Health
Constraint
Affinity
 Docker Swarm strategies
 Binpack
 Random
Spread
7.1.1 Swarm available Filters
Port
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
7.1.2 Swarm available Filters
Health
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
Node is Not
Healthy
7.1.3 Swarm available Filters
Constraint
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
Constraint==Ubuntu
Fedora
Specific OS
Kernel &
Hardware
Arch Linux Ubuntu
7.1.4 Swarm available Filters
Affinity
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
Side By Nginx
Fedora
Attraction
Between
Container
Along With,
Not Along
With
Arch Linux Ubuntu
7.2.1 Docker Swarm strategies
Binpack
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
Side By Nginx
Attraction
Between
Container
Along With,
Not Along
With
7.2.2 Docker Swarm strategies
Random
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
Side By Nginx
Attraction
Between
Container
Along With,
Not Along
With
7.2.3 Docker Swarm strategies
Spread
Docker Engine
Docker Engine Docker Engine
Swarm Manager
Nginx: 6379
Nginx: 6379
Side By Nginx
Attraction
Between
Container
Along With,
Not Along
With

More Related Content

Similar to Containerization

Docker-Hanoi @DKT , Presentation about Docker Ecosystem
Docker-Hanoi @DKT , Presentation about Docker EcosystemDocker-Hanoi @DKT , Presentation about Docker Ecosystem
Docker-Hanoi @DKT , Presentation about Docker EcosystemVan Phuc
 
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...Yogesh Wadile
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deploymentjavaonfly
 
Techdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err MicrocosmosTechdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err MicrocosmosMike Martin
 
Using Docker container technology with F5 Networks products and services
Using Docker container technology with F5 Networks products and servicesUsing Docker container technology with F5 Networks products and services
Using Docker container technology with F5 Networks products and servicesF5 Networks
 
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12dotCloud
 
Application Deployment on Openstack
Application Deployment on OpenstackApplication Deployment on Openstack
Application Deployment on OpenstackDocker, Inc.
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep DiveWill Kinard
 
Academy PRO: Docker. Lecture 1
Academy PRO: Docker. Lecture 1Academy PRO: Docker. Lecture 1
Academy PRO: Docker. Lecture 1Binary Studio
 
Introducing docker
Introducing dockerIntroducing docker
Introducing dockerDharmit Shah
 
Powering Microservices with Docker
Powering Microservices with DockerPowering Microservices with Docker
Powering Microservices with DockerCognizant
 
Docker - Frank Maounis
Docker - Frank MaounisDocker - Frank Maounis
Docker - Frank MaounisFrank Maounis
 
CONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxCONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxSanjuGamesphere
 
containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )Imo Inyang
 

Similar to Containerization (20)

Docker-Hanoi @DKT , Presentation about Docker Ecosystem
Docker-Hanoi @DKT , Presentation about Docker EcosystemDocker-Hanoi @DKT , Presentation about Docker Ecosystem
Docker-Hanoi @DKT , Presentation about Docker Ecosystem
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
 
Docker slides
Docker slidesDocker slides
Docker slides
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deployment
 
paper
paperpaper
paper
 
Techdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err MicrocosmosTechdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err Microcosmos
 
Using Docker container technology with F5 Networks products and services
Using Docker container technology with F5 Networks products and servicesUsing Docker container technology with F5 Networks products and services
Using Docker container technology with F5 Networks products and services
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
 
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
 
Application Deployment on Openstack
Application Deployment on OpenstackApplication Deployment on Openstack
Application Deployment on Openstack
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Academy PRO: Docker. Lecture 1
Academy PRO: Docker. Lecture 1Academy PRO: Docker. Lecture 1
Academy PRO: Docker. Lecture 1
 
Introducing docker
Introducing dockerIntroducing docker
Introducing docker
 
Powering Microservices with Docker
Powering Microservices with DockerPowering Microservices with Docker
Powering Microservices with Docker
 
Docker - Frank Maounis
Docker - Frank MaounisDocker - Frank Maounis
Docker - Frank Maounis
 
CONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxCONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptx
 
Docker handons-workshop-for-charity
Docker handons-workshop-for-charityDocker handons-workshop-for-charity
Docker handons-workshop-for-charity
 
Docker-Intro
Docker-IntroDocker-Intro
Docker-Intro
 
containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )
 

Recently uploaded

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 

Containerization

  • 1. Introduction Most of cloud datacenters use virtualization which is implemented by hypervisors such as Xen, KVM or Vsphere. Container as a good alternative to hypervisor Most of major IT vendors such as Google, Amazon, and Microsoft and academic researchers have been interested in containerization of cloud datacenters to overcome drawbacks of traditional hypervisor based virtualization[02]. Google: 'EVERYTHING at Google runs in a container‘; Two billion containers a week  Docker Container, Linux Container(LxC), Warden Container, Open Vz Container.
  • 2. Container  “Containerization," an alternative to full machine virtualization in which an application is encapsulated in a container with its own operating environment.  Containerization is an attractive solution that enables developers to iterate faster.  It also offers additional benefits that address the overhead associated with virtual machines, allowing for higher utilization of resources in the software-defined data center.
  • 3. Virtual Machine Vs Container Source: https://www.docker.com/ Virtualized Hardware Operating System Software Application Extra Overhead to Run Machine Density is Limited (No of VM’s)
  • 4. Virtual Machine Vs Container Source: https://www.docker.com/ More Density (No of Container’s) Booting time is fast Don’t Emulate the whole hardware Drawback is Same OS
  • 5. Layers of containers Kernel is same for all applications Bootfs Virtual File system to Docker Images Layer of Images Readable Container Writable. If one VM Image is require 1GB, then 100 VM’s require 100 GB  If one Container is require 1GB, then 100 Containers require 1GB(Sharing the Image) Source: https://www.docker.com/
  • 7. Linux Containers Linux distribution provide kernel mechanisms such as oNamespaces: Allows groups of processes to be separated, preventing them from seeing resources in other groups. oControl groups: cgroups (abbreviated from control groups) is a Linux kernel feature that limits, accounts, and isolates the resource usage (CPU, memory, disk I/O, network, etc.) of a collection of processes. Documentation of cgroups-v2 first appeared in Linux kernel 4.5 released on March 14, 2016
  • 9. 6 Container Technologies Docker Docker Docker Swarm Linux Container(LxC) Kubernetes
  • 10. 6.1 Docker Docker is the world’s leading software container platform. Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.
  • 13. 7. Docker Swarm Docker swarm mode is Docker’s solution for managing a cluster of Docker engines running on multiple machines called SWARM, Where you can deploy application services which are Docker Container. Scheduler Swarm comes with a built-in scheduler. It currently provides basic functionalities, such as scheduling containers based on constraints or affinity (co-scheduling of containers), persistent storage and multiple scheduling strategies like binpacking or random. As per the document of Docker swarm they said, “We plan to add more features to the built-in scheduler such as rebalancing (in case of host failure) and global scheduling (schedule containers on every node)” o Virtual Container ID o Rebalancing o Global scheduling Source: https://github.com/docker/swarm/blob/master/ROADMAP.md Posted May 27,2016
  • 14. 7. Scheduling Using Docker Swarm Swarm available filters  Port  Health Constraint Affinity  Docker Swarm strategies  Binpack  Random Spread
  • 15. 7.1.1 Swarm available Filters Port Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379
  • 16. 7.1.2 Swarm available Filters Health Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379 Node is Not Healthy
  • 17. 7.1.3 Swarm available Filters Constraint Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379 Constraint==Ubuntu Fedora Specific OS Kernel & Hardware Arch Linux Ubuntu
  • 18. 7.1.4 Swarm available Filters Affinity Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379 Side By Nginx Fedora Attraction Between Container Along With, Not Along With Arch Linux Ubuntu
  • 19. 7.2.1 Docker Swarm strategies Binpack Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379 Side By Nginx Attraction Between Container Along With, Not Along With
  • 20. 7.2.2 Docker Swarm strategies Random Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379 Side By Nginx Attraction Between Container Along With, Not Along With
  • 21. 7.2.3 Docker Swarm strategies Spread Docker Engine Docker Engine Docker Engine Swarm Manager Nginx: 6379 Nginx: 6379 Side By Nginx Attraction Between Container Along With, Not Along With