SlideShare a Scribd company logo
Docker Containers 
An Introduction 
(Khelender Sasan)
Page 2 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Agenda 
▌Background 
Software Industry Challenges 
VM versus Containers 
▌Docker Technology 
Introduction 
Docker Architecture 
▌Technology usage demonstration 
▌Updates 
▌References
Page 3 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Challenge of Software Industry 
Source: http://www.slideshare.net/Docker/dockerintronovember- 131125185628phpapp02-37588934
Page 4 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Dependency Hell (libraries / packages / ….) 
Static website 
Web frontend 
Background workers 
User DB 
Analytics DB 
Queue 
Development VM 
QA Server 
Single Prod Server 
Onsite Cluster 
Public Cloud 
Contributor’s laptop 
Customer Servers 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
? 
Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934
Page 5 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Cargo transport (pre-1960….) 
Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934 
Multiplicity of Goods 
Multipilicity of methods for transporting/storing 
Do I worry about how goods interact (e.g. coffee beans next to spices) 
Can I transport quickly and smoothly 
(e.g. from boat to train to truck)
Page 6 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Solution for Shipping Industry…. 
Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934 
Multiplicity of Goods 
Multiplicity of methods for transporting/storing 
Do I worry about how goods interact (e.g. coffee beans next to spices) 
Can I transport quickly and smoothly 
(e.g. from boat to train to truck) 
…in between, can be loaded and unloaded, stacked, transported efficiently over long distances, and transferred from one mode of transport to another 
A standard container that is loaded with virtually any goods, and stays sealed until it reaches final delivery.
Page 7 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Solution 
Source: http://www.slideshare.net/Docker/dockerintronovember- 131125185628phpapp02-37588934
Page 8 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Solution for Software Industry…. 
Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934 
Static website 
Web frontend 
Background workers 
User DB 
Analytics DB 
Queue 
Development VM 
QA Server 
Single Prod Server 
Onsite Cluster 
Public Cloud 
Contributor’s laptop 
Customer Servers
Page 9 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Hypervisor VM versus Docker Containers 
•Includes hardware simulation & OS execution 
•Requires order of GB – 100s of MBs of memory for each instance (Heavy Weight) 
•Can simulate few VMs per server (Expensive) 
•Instance launch complete takes several seconds minute (slower) 
Virtual Machine (Hardware virtualization) 
•Based on Linux Containers and Union File System. 
•Requires order of few MBs of memory for each instance (Light Weight) 
•Can simulate much higher containers per server (Cheaper) 
•Instance launched in sub-second time- frame (much faster) 
Docker containers 
(OS level virtualization)
Page 10 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Docker Technology : Introduction 
Traditional Hypervisor based VMs 
Container based Application execution 
Framework built on top of Linux containers that can package an application and its dependencies => Can be launched / deployed in form of software container on any Linux server (providing portability of underlying platform: cloud, bare-metal, server, desktop or laptop)
Page 11 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Docker Technology Introduction….continued… 
Container relies on Linux kernel facilities: chroot, cgroups and name-space facilities that provide resource isolation (CPU, memory, block I/O, network, etc.) => Doesn’t require a separate OS instance. 
Docker provides framework & a high level API over Linux containers for portable deployment of applications across machines 
Docker provides versioning capability to track successive versions of a container 
Docker uses AUFS (Advanced multi-layered Unification File System) – It greatly enhances the performance of docker containers and provides for optimized usage of underlying disk resources
Page 12 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Docker Architecture
Page 13 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Usage Flow
Page 14 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Technology Usage Demonstration (1/5) 
▌Docker installation 
▌Download an existing container image from public docker registry
Page 15 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Technology Usage Demonstration (2/5) 
▌Spawning container from downloaded container image 
▌OS level virtualization demonstration
Page 16 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Technology Usage Demonstration (3/5) 
▌Concept of chroot and aufs 
▌Setting up local private docker registry
Page 17 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Technology Usage Demonstration (4/5) 
▌Uploading images in local private docker registry
Page 18 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Technology Usage Demonstration (5/5) 
▌Versioning (Committing changes as new image)
Page 19 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Docker Containers and technology business ecosystem 
▌Microsoft & Docker 
Docker and Microsoft partner to bring container applications across platforms (15-Oct-2014) 
▌Google & Docker 
Google Launches Managed Service For Running Docker- Based Applications On Its Cloud Platform (4-Nov-2014) 
Google Container Engine to use Kubernetes for providing “Docker as a Service” (“Cluster As a Service”?) 
▌Linux Distros & Docker 
Canonical Releases Ubuntu 14.10 With Tighter Docker and Cloud Foundry Integrations (24-Oct-2014) 
SUSE bundles Docker and processor optimizations into major new Linux distro (27-Oct-2014) 
Red Hat To Bring Docker Support To Enterprise Linux And OpenShift (15-Apr-2014) 
▌Docker acquisitions 
Docker acquires Orchard (for Orchestration & integration platforms) 
Docker Acquires Koality In Engineering Talent Grab (7- Oct-2014) 
▌Server Environment Optimization (CoreOS) : Planning to serve a diet Linux Platform 
Every App / Service will be served using docker container !
Page 20 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Solomon Hykes: person behind Docker Container 
▌DotCloud : Provides Cloud solutions 
▌Brain behind Docker : Solomon Hykes 
▌Theme / Motto : 
“The real value of Docker is not technology, it's getting people to agree on something.” 
▌Got inspiration of solution for software troubles from Shipping Industry 
▌Nothing New => Just recipe was required ! 
Acknowledged all recipe ingredients in Docker Conf’14
Page 21 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan 
Questions? 
Thanks
Page 22 
© NEC Technologies India Limited 2014 
Docker Containers : An Introduction 
Khelender Sasan

More Related Content

PPTX
Utilzing docker containers for testing optimization and acceleration
PPTX
Docker container a-brief_introduction_2016-01-30
PPTX
Docker and containerization
PPT
Docker 101 for "The Core of Microservice Architecture"
PDF
Docker meetup-20-apr-17-openshit
PDF
A Shift from Monolith to Microservice using Docker
PPTX
Containerization & Docker - Under the Hood
PPTX
Dockers and containers basics
Utilzing docker containers for testing optimization and acceleration
Docker container a-brief_introduction_2016-01-30
Docker and containerization
Docker 101 for "The Core of Microservice Architecture"
Docker meetup-20-apr-17-openshit
A Shift from Monolith to Microservice using Docker
Containerization & Docker - Under the Hood
Dockers and containers basics

What's hot (20)

PDF
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
PDF
Docker Container Introduction
PDF
AtlanTEC 2017: Containers! Why Docker, Why NOW?
PDF
Docker Basics
PDF
I3 docker-intro-yusuf
PDF
Accelerate your software development with Docker
PPTX
Accelerate your development with Docker
PDF
Docker 101
PPTX
Discussing the difference between docker dontainers and virtual machines
PDF
Docker Container-Introduction and Features
PDF
Docker Overview - Rise of the Containers
PDF
Kubecon seattle 2018 recap - Application Deployment aspects
PDF
Introduction to Docker - VIT Campus
PDF
Containerise everything - Why you should stop installing development environm...
PDF
create auto scale jboss cluster with openshift
PDF
Dockers & kubernetes detailed - Beginners to Geek
PDF
Docker quick start
PDF
Cloud Computing Fundamental
PDF
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
PPTX
Building microservices with docker
The Containers Ecosystem, the OpenStack Magnum Project, the Open Container In...
Docker Container Introduction
AtlanTEC 2017: Containers! Why Docker, Why NOW?
Docker Basics
I3 docker-intro-yusuf
Accelerate your software development with Docker
Accelerate your development with Docker
Docker 101
Discussing the difference between docker dontainers and virtual machines
Docker Container-Introduction and Features
Docker Overview - Rise of the Containers
Kubecon seattle 2018 recap - Application Deployment aspects
Introduction to Docker - VIT Campus
Containerise everything - Why you should stop installing development environm...
create auto scale jboss cluster with openshift
Dockers & kubernetes detailed - Beginners to Geek
Docker quick start
Cloud Computing Fundamental
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Building microservices with docker
Ad

Similar to Docker containers anintroduction (20)

PDF
Whales, Clouds, and Bubbles...?
PDF
Introduction to Docker - IndiaOpsUG
PDF
A to Z of Docker
PPTX
ma-formation-en-Docker-jlklk,nknkjn.pptx
PDF
Introduction to Docker Containers - Docker Captain
PDF
A curtain-raiser to the container world Docker & Kubernetes
PDF
An Introduction To Docker
PPTX
Docker for developers - The big picture
PPTX
Introduction to automated environment management with Docker Containers - for...
PDF
Docker basic
PDF
658882010-Introduction-to-Docker-pptx.pdf
PPTX
Demystifying Docker101
PDF
Demystifying Docker
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PDF
Cloud Native Computing - Part III - Containers
PDF
codemotion-docker-2014
PPTX
Introduction to Docker - Getting Started with Docker
PPTX
Hypervisor "versus" Linux Containers with Docker !
PPTX
Developer workflow with docker
PDF
Docker Containers Deep Dive
Whales, Clouds, and Bubbles...?
Introduction to Docker - IndiaOpsUG
A to Z of Docker
ma-formation-en-Docker-jlklk,nknkjn.pptx
Introduction to Docker Containers - Docker Captain
A curtain-raiser to the container world Docker & Kubernetes
An Introduction To Docker
Docker for developers - The big picture
Introduction to automated environment management with Docker Containers - for...
Docker basic
658882010-Introduction-to-Docker-pptx.pdf
Demystifying Docker101
Demystifying Docker
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Cloud Native Computing - Part III - Containers
codemotion-docker-2014
Introduction to Docker - Getting Started with Docker
Hypervisor "versus" Linux Containers with Docker !
Developer workflow with docker
Docker Containers Deep Dive
Ad

Recently uploaded (20)

PPTX
Chapter 5: Probability Theory and Statistics
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
August Patch Tuesday
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Approach and Philosophy of On baking technology
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Web App vs Mobile App What Should You Build First.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
Chapter 5: Probability Theory and Statistics
Heart disease approach using modified random forest and particle swarm optimi...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
August Patch Tuesday
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
A Presentation on Artificial Intelligence
TLE Review Electricity (Electricity).pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Tartificialntelligence_presentation.pptx
Approach and Philosophy of On baking technology
WOOl fibre morphology and structure.pdf for textiles
MIND Revenue Release Quarter 2 2025 Press Release
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cloud_computing_Infrastucture_as_cloud_p
Hindi spoken digit analysis for native and non-native speakers
NewMind AI Weekly Chronicles - August'25-Week II
Web App vs Mobile App What Should You Build First.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
1. Introduction to Computer Programming.pptx
A comparative analysis of optical character recognition models for extracting...

Docker containers anintroduction

  • 1. Docker Containers An Introduction (Khelender Sasan)
  • 2. Page 2 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Agenda ▌Background Software Industry Challenges VM versus Containers ▌Docker Technology Introduction Docker Architecture ▌Technology usage demonstration ▌Updates ▌References
  • 3. Page 3 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Challenge of Software Industry Source: http://www.slideshare.net/Docker/dockerintronovember- 131125185628phpapp02-37588934
  • 4. Page 4 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Dependency Hell (libraries / packages / ….) Static website Web frontend Background workers User DB Analytics DB Queue Development VM QA Server Single Prod Server Onsite Cluster Public Cloud Contributor’s laptop Customer Servers ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934
  • 5. Page 5 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Cargo transport (pre-1960….) Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934 Multiplicity of Goods Multipilicity of methods for transporting/storing Do I worry about how goods interact (e.g. coffee beans next to spices) Can I transport quickly and smoothly (e.g. from boat to train to truck)
  • 6. Page 6 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Solution for Shipping Industry…. Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934 Multiplicity of Goods Multiplicity of methods for transporting/storing Do I worry about how goods interact (e.g. coffee beans next to spices) Can I transport quickly and smoothly (e.g. from boat to train to truck) …in between, can be loaded and unloaded, stacked, transported efficiently over long distances, and transferred from one mode of transport to another A standard container that is loaded with virtually any goods, and stays sealed until it reaches final delivery.
  • 7. Page 7 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Solution Source: http://www.slideshare.net/Docker/dockerintronovember- 131125185628phpapp02-37588934
  • 8. Page 8 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Solution for Software Industry…. Source: http://www.slideshare.net/Docker/dockerintronovember-131125185628phpapp02-37588934 Static website Web frontend Background workers User DB Analytics DB Queue Development VM QA Server Single Prod Server Onsite Cluster Public Cloud Contributor’s laptop Customer Servers
  • 9. Page 9 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Hypervisor VM versus Docker Containers •Includes hardware simulation & OS execution •Requires order of GB – 100s of MBs of memory for each instance (Heavy Weight) •Can simulate few VMs per server (Expensive) •Instance launch complete takes several seconds minute (slower) Virtual Machine (Hardware virtualization) •Based on Linux Containers and Union File System. •Requires order of few MBs of memory for each instance (Light Weight) •Can simulate much higher containers per server (Cheaper) •Instance launched in sub-second time- frame (much faster) Docker containers (OS level virtualization)
  • 10. Page 10 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Docker Technology : Introduction Traditional Hypervisor based VMs Container based Application execution Framework built on top of Linux containers that can package an application and its dependencies => Can be launched / deployed in form of software container on any Linux server (providing portability of underlying platform: cloud, bare-metal, server, desktop or laptop)
  • 11. Page 11 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Docker Technology Introduction….continued… Container relies on Linux kernel facilities: chroot, cgroups and name-space facilities that provide resource isolation (CPU, memory, block I/O, network, etc.) => Doesn’t require a separate OS instance. Docker provides framework & a high level API over Linux containers for portable deployment of applications across machines Docker provides versioning capability to track successive versions of a container Docker uses AUFS (Advanced multi-layered Unification File System) – It greatly enhances the performance of docker containers and provides for optimized usage of underlying disk resources
  • 12. Page 12 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Docker Architecture
  • 13. Page 13 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Usage Flow
  • 14. Page 14 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Technology Usage Demonstration (1/5) ▌Docker installation ▌Download an existing container image from public docker registry
  • 15. Page 15 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Technology Usage Demonstration (2/5) ▌Spawning container from downloaded container image ▌OS level virtualization demonstration
  • 16. Page 16 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Technology Usage Demonstration (3/5) ▌Concept of chroot and aufs ▌Setting up local private docker registry
  • 17. Page 17 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Technology Usage Demonstration (4/5) ▌Uploading images in local private docker registry
  • 18. Page 18 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Technology Usage Demonstration (5/5) ▌Versioning (Committing changes as new image)
  • 19. Page 19 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Docker Containers and technology business ecosystem ▌Microsoft & Docker Docker and Microsoft partner to bring container applications across platforms (15-Oct-2014) ▌Google & Docker Google Launches Managed Service For Running Docker- Based Applications On Its Cloud Platform (4-Nov-2014) Google Container Engine to use Kubernetes for providing “Docker as a Service” (“Cluster As a Service”?) ▌Linux Distros & Docker Canonical Releases Ubuntu 14.10 With Tighter Docker and Cloud Foundry Integrations (24-Oct-2014) SUSE bundles Docker and processor optimizations into major new Linux distro (27-Oct-2014) Red Hat To Bring Docker Support To Enterprise Linux And OpenShift (15-Apr-2014) ▌Docker acquisitions Docker acquires Orchard (for Orchestration & integration platforms) Docker Acquires Koality In Engineering Talent Grab (7- Oct-2014) ▌Server Environment Optimization (CoreOS) : Planning to serve a diet Linux Platform Every App / Service will be served using docker container !
  • 20. Page 20 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Solomon Hykes: person behind Docker Container ▌DotCloud : Provides Cloud solutions ▌Brain behind Docker : Solomon Hykes ▌Theme / Motto : “The real value of Docker is not technology, it's getting people to agree on something.” ▌Got inspiration of solution for software troubles from Shipping Industry ▌Nothing New => Just recipe was required ! Acknowledged all recipe ingredients in Docker Conf’14
  • 21. Page 21 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan Questions? Thanks
  • 22. Page 22 © NEC Technologies India Limited 2014 Docker Containers : An Introduction Khelender Sasan