SlideShare a Scribd company logo
2016© Bhupathi Consulting Inc
Docker and Containers
Disrupting the Virtual Machine
Rama Krishna Bhupathi
ramakris@gmail.com
2016© Bhupathi Consulting Inc
Some Terminologies
● Virtualization: In computing, virtualization refers to the act
of creating a virtual version of a computer resource
including CPU, operating systems, storage , and computer
network resources.
● Virtual Machine:A virtual machine (VM) is an emulation of a
particular computer system, its resources such as CPU,
RAM, Disk space. Each VM has its own kernel,OS, and
supporting libraries. Behaves like a machine(PC) but not
real machine(everything is virtualized)
2
2016© Bhupathi Consulting Inc
Some Terminologies
● Hypervisor: A hypervisor or virtual machine monitor (VMM)
is a piece of computer software, firmware or hardware that
creates and runs virtual machines.
Zen (Used by Amazon Web Services)
KVM (Used by OpenStack)
Microsoft Hyper V
VMWare VSphere ESXi
RedHat Enterprise Virtualization
3
2016© Bhupathi Consulting Inc
Why Virtualization is so popular?
● More Agile , more dynamic provisioning
● Reduce the data center footprint
● Reduce vendor lock-in
● Faster Server Provisioning
● Reduced costs
● More flexibility in demand / supply of resources.
● High Server Utilization
● Low Total Cost of Ownership(TCO)
4
2016© Bhupathi Consulting Inc
Virtualization Timeline
1960 and 1970s: First Virtual machines used by IBM
1990s: x86 becomes prominent server platform
1999: VMWare first commercial product to virtualize x86
2006: AMD(AMD-V) and Intel(Intel-VT) build Virtualization
into their CPUs
5
2016© Bhupathi Consulting Inc
Virtualization
6
2016© Bhupathi Consulting Inc
Virtualization...any improvements?
● Virtual Machines are fat (requires its own OS)
● Overhead in terms of the hypervisor that emulates the
hardware.
● Even if you want to run an application you need a full
scale OS stack.
● Maintenance: Need to patch the individual OSes on the
VM as needed
● Increased complexity when there are huge number of
OSes in VMs that needs patching
● Explicitly turn ON virtualization at BIOS.
7
2016© Bhupathi Consulting Inc
Linux Containers
Containers are lightweight isolated operating system
environments(processes) running on a host. Unlike virtual
machines, containers ...
● don’t need additional hardware capabilities such as
Intel-VT and so on.
● don’t need emulated BIOS or completely virtualized
hardware
8
2016© Bhupathi Consulting Inc
Linux Containers
Linux containers are an operating system level virtualization
technology for providing multiple isolated Linux environments
on a single Linux host.
Unlike virtual machines (VMs), containers do not run
dedicated guest operating systems. Rather, they share the
host operating system kernel and make use of the guest
operating system system libraries for providing the required
OS capabilities.
9
2016© Bhupathi Consulting Inc
Linux Containers
Containers run on a host operating system that provide
allocation and assignment of resources such as CPU,
memory, block IO, and network bandwidth and do not (or
cannot) interfere with rest of the system’s resources or
process. Provides isolation.
But how is it possible to get the kind of isolation like a
VM and still be lightweight?
10
2016© Bhupathi Consulting Inc
Compare VMs and Containers
VM VM VM
Container Container Container
11
2016© Bhupathi Consulting Inc
Compare VMs and Containers
12
2016© Bhupathi Consulting Inc
Compare VMs and Containers
Virtual Machine Docker Container
Each VM runs in its own OS All containers share the host OS.
Host OS can be different than the guest OS Host OS and Container OS has to be the
same (Linux Kernel)
VM are always running. Containers stop when the command it is
started with completes
Startup time in minutes Startup time in milliseconds
VMs snapshots are used sparingly Images are built incrementally on top of
another like layers.
You can run multiple VMs on a laptop for
example
Can run many docker containers on a
laptop.
Fully isolated and hence more secure Process-level isolation and hence less
secure
13
2016© Bhupathi Consulting Inc
Similarities between VMs and Containers
Virtual Machine Docker Container
Has its own root file system Has its own root file system(not the kernel)
Has its own IP Address, network adapters
etc
Same here
14
2016© Bhupathi Consulting Inc
How did Containers evolve?
1979 :chroot...A System Call that changes the root directory for the current
running process and its children ,restricting access to outside files.A way to
isolate a process from the rest of the system.
2006 :Control Groups...Originally implemented by Google for limiting,
accounting, and isolating resource usage (CPU, memory, disk I/O, network,
etc.) of a collection of processes.
2007 :Control Groups...becomes part of Linux Kernel
2008 : LXC… Linux Containers combining Control Groups and Kernel
NameSpaces
2013: Docker announces Linux Container Management called Docker
15
2016© Bhupathi Consulting Inc
Some analogies before the Intro...
16
2016© Bhupathi Consulting Inc
Some analogies before the Intro...
In 1955, Malcom P. McLean, a trucking entrepreneur from
North Carolina, USA, bought a steamship company with the
idea of transporting entire truck trailers with their cargo still
inside. That is the birth of shipping containers.
Benefits:
● Standardization on shape,size,volume,weight
● Massive economies of scale.Reduction in shipping costs.
● Revolutionized shipping Industry.
● Seamless movement across road,rail and sea.
17
2016© Bhupathi Consulting Inc
18
2016© Bhupathi Consulting Inc
Docker
Docker containers wrap up a piece of software in a complete
filesystem that contains everything it needs to run: code,
runtime, system tools, system libraries –anything you can
install on a server. This guarantees that it will always run the
same, regardless of the environment it is running in.
https://www.docker.com/what-docker
19
2016© Bhupathi Consulting Inc
Docker
20
2016© Bhupathi Consulting Inc
Docker
21
2016© Bhupathi Consulting Inc
What is Docker?
Docker is an open source containerization engine, which automates the
packaging, shipping, and deployment of any software applications that are
presented as lightweight, portable, and self-sufficient containers, that will
run virtually anywhere.Docker is a platform that allows you to “build, ship,
and run any app, anywhere
A Docker container is a software bucket comprising everything necessary
to run the software independently. There can be multiple Docker
containers in a single machine and containers are completely isolated
from one another as well as from the host machine.
22
2016© Bhupathi Consulting Inc
What is Docker?
In a nutshell, the Docker solution lets us quickly assemble
composite, enterprise-scale, and business-critical
applications.
The Docker solution primarily consists of the following
components:
● The Docker engine
● The Docker Hub (https://hub.docker.com/)
23
2016© Bhupathi Consulting Inc
So is it the end of VMs ?
● “We’re now doing to VMs what VMs did to physical
machines.”
● You have to think of containers as another weapon in the
arsenal of cloud developers,
● Containers and virtual machines can live together happily.
● There are still technical limitations to container
virtualization. Ex: Containers cannot provide a virtual
instance of Windows on a Linux server
24
2016© Bhupathi Consulting Inc
Thank You
Q/A
25

More Related Content

What's hot

Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
Hao Fan
 
The ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerThe ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of Docker
Aniekan Akpaffiong
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the Containers
Ryan Hodgin
 
Introduction to Docker
Introduction  to DockerIntroduction  to Docker
Introduction to Docker
Jian Wu
 
Docker basics
Docker basicsDocker basics
Docker basics
Claudio Montoya
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
Google Developer Group Zürich
 
Docker based-pipelines
Docker based-pipelinesDocker based-pipelines
Docker based-pipelines
DevOps.com
 
Why Docker
Why DockerWhy Docker
Why DockerdotCloud
 
Docker introduction for Carbon IT
Docker introduction for Carbon ITDocker introduction for Carbon IT
Docker introduction for Carbon IT
yannick grenzinger
 
Docker
DockerDocker
Discussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machinesDiscussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machines
Steven Grzbielok
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
Instruqt
 
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Odinot Stanislas
 
Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707
Clarence Ho
 
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Docker Intro at the Google Developer Group and Google Cloud Platform Meet UpDocker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Jérôme Petazzoni
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
Docker, Inc.
 
Building microservices with docker
Building microservices with dockerBuilding microservices with docker
Building microservices with docker
Roman Melnyk
 
Docker Basics
Docker BasicsDocker Basics
Docker Basics
DuckDuckGo
 
Getting started with docker
Getting started with dockerGetting started with docker
Getting started with docker
JEMLI Fathi
 

What's hot (20)

Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
The ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of DockerThe ABC of Docker: The Absolute Best Compendium of Docker
The ABC of Docker: The Absolute Best Compendium of Docker
 
Docker Overview - Rise of the Containers
Docker Overview - Rise of the ContainersDocker Overview - Rise of the Containers
Docker Overview - Rise of the Containers
 
Introduction to Docker
Introduction  to DockerIntroduction  to Docker
Introduction to Docker
 
Docker basics
Docker basicsDocker basics
Docker basics
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Docker based-pipelines
Docker based-pipelinesDocker based-pipelines
Docker based-pipelines
 
Why Docker
Why DockerWhy Docker
Why Docker
 
Docker introduction for Carbon IT
Docker introduction for Carbon ITDocker introduction for Carbon IT
Docker introduction for Carbon IT
 
Docker
DockerDocker
Docker
 
Discussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machinesDiscussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machines
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
Bare-metal, Docker Containers, and Virtualization: The Growing Choices for Cl...
 
Docker HK Meetup - 201707
Docker HK Meetup - 201707Docker HK Meetup - 201707
Docker HK Meetup - 201707
 
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Docker Intro at the Google Developer Group and Google Cloud Platform Meet UpDocker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 
Building microservices with docker
Building microservices with dockerBuilding microservices with docker
Building microservices with docker
 
Docker Basics
Docker BasicsDocker Basics
Docker Basics
 
Getting started with docker
Getting started with dockerGetting started with docker
Getting started with docker
 

Viewers also liked

OpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaKOpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaK
Rama Krishna B
 
Object Storage with Gluster
Object Storage with GlusterObject Storage with Gluster
Object Storage with Gluster
Gluster.org
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...
Matteo Bisi
 
Benchmarking Openstack Installations using Rally
Benchmarking Openstack Installations using RallyBenchmarking Openstack Installations using Rally
Benchmarking Openstack Installations using Rally
Rama Krishna B
 
vSphere Integrated Containers
vSphere Integrated ContainersvSphere Integrated Containers
vSphere Integrated Containers
Vahric Muhtaryan
 
VMware and Container Orchestration
VMware and Container OrchestrationVMware and Container Orchestration
VMware and Container Orchestration
Tesora
 
A First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon PlatformA First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon Platform
Dan Wendlandt
 
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJS
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJSICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJS
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJS
Mark Leusink
 
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
VMworld
 
Configure, Debug and Install OpenStack Trove
Configure, Debug and Install OpenStack TroveConfigure, Debug and Install OpenStack Trove
Configure, Debug and Install OpenStack Trove
Rama Krishna B
 
MySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack Trove
Matt Lord
 
Introduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a ServiceIntroduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a Service
Tesora
 
OpenStack Trove 技術解説
OpenStack Trove 技術解説OpenStack Trove 技術解説
OpenStack Trove 技術解説
Toru Makabe
 

Viewers also liked (13)

OpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaKOpenStack Rally presentation by RamaK
OpenStack Rally presentation by RamaK
 
Object Storage with Gluster
Object Storage with GlusterObject Storage with Gluster
Object Storage with Gluster
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...
 
Benchmarking Openstack Installations using Rally
Benchmarking Openstack Installations using RallyBenchmarking Openstack Installations using Rally
Benchmarking Openstack Installations using Rally
 
vSphere Integrated Containers
vSphere Integrated ContainersvSphere Integrated Containers
vSphere Integrated Containers
 
VMware and Container Orchestration
VMware and Container OrchestrationVMware and Container Orchestration
VMware and Container Orchestration
 
A First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon PlatformA First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon Platform
 
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJS
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJSICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJS
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJS
 
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
 
Configure, Debug and Install OpenStack Trove
Configure, Debug and Install OpenStack TroveConfigure, Debug and Install OpenStack Trove
Configure, Debug and Install OpenStack Trove
 
MySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack Trove
 
Introduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a ServiceIntroduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a Service
 
OpenStack Trove 技術解説
OpenStack Trove 技術解説OpenStack Trove 技術解説
OpenStack Trove 技術解説
 

Similar to Docker and containers : Disrupting the virtual machine(VM)

Comparisons of the most famous container Orchestrators
Comparisons of the most famous container OrchestratorsComparisons of the most famous container Orchestrators
Comparisons of the most famous container Orchestrators
Thierry Gayet
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
Shubhrank Rastogi
 
Techdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err MicrocosmosTechdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err Microcosmos
Mike Martin
 
Containerization Report
Containerization ReportContainerization Report
Containerization Report
Jatin Chauhan
 
Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015
Mustafa AKIN
 
Linux containers and docker
Linux containers and dockerLinux containers and docker
Linux containers and docker
Fabio Fumarola
 
The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)
Casey Bisson
 
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source TriumvirateCloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Animesh Singh
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
Patrick Pierson
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containers
prashant desai
 
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
Van 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 - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
Dr Ganesh Iyer
 
Revolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualizationRevolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualizationWSO2
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
IRJET Journal
 
Microservices in academic environment
Microservices in academic environmentMicroservices in academic environment
Microservices in academic environment
Milind Bhagwati
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
ICON UK EVENTS Limited
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deploymentjavaonfly
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and Docker
Fabio Fumarola
 

Similar to Docker and containers : Disrupting the virtual machine(VM) (20)

Comparisons of the most famous container Orchestrators
Comparisons of the most famous container OrchestratorsComparisons of the most famous container Orchestrators
Comparisons of the most famous container Orchestrators
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
 
Techdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err MicrocosmosTechdays SE 2016 - Micros.. err Microcosmos
Techdays SE 2016 - Micros.. err Microcosmos
 
Containerization Report
Containerization ReportContainerization Report
Containerization Report
 
Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015
 
Linux containers and docker
Linux containers and dockerLinux containers and docker
Linux containers and docker
 
The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)
 
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source TriumvirateCloud foundry Docker Openstack - Leading Open Source Triumvirate
Cloud foundry Docker Openstack - Leading Open Source Triumvirate
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containers
 
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 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 - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containersDocker - A high level introduction to dockers and containers
Docker - A high level introduction to dockers and containers
 
docker
dockerdocker
docker
 
Revolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualizationRevolutionizing the cloud with container virtualization
Revolutionizing the cloud with container virtualization
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 
Microservices in academic environment
Microservices in academic environmentMicroservices in academic environment
Microservices in academic environment
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deployment
 
2 Linux Container and Docker
2 Linux Container and Docker2 Linux Container and Docker
2 Linux Container and Docker
 

Recently uploaded

Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
MayankTawar1
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 

Recently uploaded (20)

Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 

Docker and containers : Disrupting the virtual machine(VM)

  • 1. 2016© Bhupathi Consulting Inc Docker and Containers Disrupting the Virtual Machine Rama Krishna Bhupathi ramakris@gmail.com
  • 2. 2016© Bhupathi Consulting Inc Some Terminologies ● Virtualization: In computing, virtualization refers to the act of creating a virtual version of a computer resource including CPU, operating systems, storage , and computer network resources. ● Virtual Machine:A virtual machine (VM) is an emulation of a particular computer system, its resources such as CPU, RAM, Disk space. Each VM has its own kernel,OS, and supporting libraries. Behaves like a machine(PC) but not real machine(everything is virtualized) 2
  • 3. 2016© Bhupathi Consulting Inc Some Terminologies ● Hypervisor: A hypervisor or virtual machine monitor (VMM) is a piece of computer software, firmware or hardware that creates and runs virtual machines. Zen (Used by Amazon Web Services) KVM (Used by OpenStack) Microsoft Hyper V VMWare VSphere ESXi RedHat Enterprise Virtualization 3
  • 4. 2016© Bhupathi Consulting Inc Why Virtualization is so popular? ● More Agile , more dynamic provisioning ● Reduce the data center footprint ● Reduce vendor lock-in ● Faster Server Provisioning ● Reduced costs ● More flexibility in demand / supply of resources. ● High Server Utilization ● Low Total Cost of Ownership(TCO) 4
  • 5. 2016© Bhupathi Consulting Inc Virtualization Timeline 1960 and 1970s: First Virtual machines used by IBM 1990s: x86 becomes prominent server platform 1999: VMWare first commercial product to virtualize x86 2006: AMD(AMD-V) and Intel(Intel-VT) build Virtualization into their CPUs 5
  • 6. 2016© Bhupathi Consulting Inc Virtualization 6
  • 7. 2016© Bhupathi Consulting Inc Virtualization...any improvements? ● Virtual Machines are fat (requires its own OS) ● Overhead in terms of the hypervisor that emulates the hardware. ● Even if you want to run an application you need a full scale OS stack. ● Maintenance: Need to patch the individual OSes on the VM as needed ● Increased complexity when there are huge number of OSes in VMs that needs patching ● Explicitly turn ON virtualization at BIOS. 7
  • 8. 2016© Bhupathi Consulting Inc Linux Containers Containers are lightweight isolated operating system environments(processes) running on a host. Unlike virtual machines, containers ... ● don’t need additional hardware capabilities such as Intel-VT and so on. ● don’t need emulated BIOS or completely virtualized hardware 8
  • 9. 2016© Bhupathi Consulting Inc Linux Containers Linux containers are an operating system level virtualization technology for providing multiple isolated Linux environments on a single Linux host. Unlike virtual machines (VMs), containers do not run dedicated guest operating systems. Rather, they share the host operating system kernel and make use of the guest operating system system libraries for providing the required OS capabilities. 9
  • 10. 2016© Bhupathi Consulting Inc Linux Containers Containers run on a host operating system that provide allocation and assignment of resources such as CPU, memory, block IO, and network bandwidth and do not (or cannot) interfere with rest of the system’s resources or process. Provides isolation. But how is it possible to get the kind of isolation like a VM and still be lightweight? 10
  • 11. 2016© Bhupathi Consulting Inc Compare VMs and Containers VM VM VM Container Container Container 11
  • 12. 2016© Bhupathi Consulting Inc Compare VMs and Containers 12
  • 13. 2016© Bhupathi Consulting Inc Compare VMs and Containers Virtual Machine Docker Container Each VM runs in its own OS All containers share the host OS. Host OS can be different than the guest OS Host OS and Container OS has to be the same (Linux Kernel) VM are always running. Containers stop when the command it is started with completes Startup time in minutes Startup time in milliseconds VMs snapshots are used sparingly Images are built incrementally on top of another like layers. You can run multiple VMs on a laptop for example Can run many docker containers on a laptop. Fully isolated and hence more secure Process-level isolation and hence less secure 13
  • 14. 2016© Bhupathi Consulting Inc Similarities between VMs and Containers Virtual Machine Docker Container Has its own root file system Has its own root file system(not the kernel) Has its own IP Address, network adapters etc Same here 14
  • 15. 2016© Bhupathi Consulting Inc How did Containers evolve? 1979 :chroot...A System Call that changes the root directory for the current running process and its children ,restricting access to outside files.A way to isolate a process from the rest of the system. 2006 :Control Groups...Originally implemented by Google for limiting, accounting, and isolating resource usage (CPU, memory, disk I/O, network, etc.) of a collection of processes. 2007 :Control Groups...becomes part of Linux Kernel 2008 : LXC… Linux Containers combining Control Groups and Kernel NameSpaces 2013: Docker announces Linux Container Management called Docker 15
  • 16. 2016© Bhupathi Consulting Inc Some analogies before the Intro... 16
  • 17. 2016© Bhupathi Consulting Inc Some analogies before the Intro... In 1955, Malcom P. McLean, a trucking entrepreneur from North Carolina, USA, bought a steamship company with the idea of transporting entire truck trailers with their cargo still inside. That is the birth of shipping containers. Benefits: ● Standardization on shape,size,volume,weight ● Massive economies of scale.Reduction in shipping costs. ● Revolutionized shipping Industry. ● Seamless movement across road,rail and sea. 17
  • 19. 2016© Bhupathi Consulting Inc Docker Docker containers wrap up a piece of software in a complete filesystem that contains everything it needs to run: code, runtime, system tools, system libraries –anything you can install on a server. This guarantees that it will always run the same, regardless of the environment it is running in. https://www.docker.com/what-docker 19
  • 20. 2016© Bhupathi Consulting Inc Docker 20
  • 21. 2016© Bhupathi Consulting Inc Docker 21
  • 22. 2016© Bhupathi Consulting Inc What is Docker? Docker is an open source containerization engine, which automates the packaging, shipping, and deployment of any software applications that are presented as lightweight, portable, and self-sufficient containers, that will run virtually anywhere.Docker is a platform that allows you to “build, ship, and run any app, anywhere A Docker container is a software bucket comprising everything necessary to run the software independently. There can be multiple Docker containers in a single machine and containers are completely isolated from one another as well as from the host machine. 22
  • 23. 2016© Bhupathi Consulting Inc What is Docker? In a nutshell, the Docker solution lets us quickly assemble composite, enterprise-scale, and business-critical applications. The Docker solution primarily consists of the following components: ● The Docker engine ● The Docker Hub (https://hub.docker.com/) 23
  • 24. 2016© Bhupathi Consulting Inc So is it the end of VMs ? ● “We’re now doing to VMs what VMs did to physical machines.” ● You have to think of containers as another weapon in the arsenal of cloud developers, ● Containers and virtual machines can live together happily. ● There are still technical limitations to container virtualization. Ex: Containers cannot provide a virtual instance of Windows on a Linux server 24
  • 25. 2016© Bhupathi Consulting Inc Thank You Q/A 25