SlideShare a Scribd company logo
INTRODUCTION TO DOCKER
Ranjan Baisak (RB)
rbaisak@juniper.net
CLOUD MARKET
Developer
s
Public
Develops
Architects
IT Pros
HybridPrivate
WHAT IS DOCKER
 An Open-Source (Go) framework to manage “container virtualization”
 Docker isolates multiple user spaces (file systems) inside the same
host
 The user space instances are called “Containers”
 They give you the illusion of being inside a VM
 Think about “execution environments” or “sandboxes”
 No need for an hypervisor (and so very quick to launch)
 Requires x64 Linux and kernel 3.8+
WHAT IS DOCKER
 An Open-Source (Go) framework to manage “container virtualization”
 Docker isolates multiple user spaces (file systems) inside the same host
 The user space instances are called “Containers”
 They give you the illusion of being inside a VM
 Think about “execution environments” or “sandboxes”
 No need for an hypervisor (and so very quick to launch)
 Requires x64 Linux and kernel 3.8+
VIRTUAL MACHINE VS DOCKER
Virtual Machines
Each virtual machine includes the application, the necessary
binaries and libraries and an entire guest operating system - all
of which may be tens of GBs in size.
Containers
Containers include the application and all of its dependencies, but share the
kernel with other containers. They run as an isolated process in userspace on
the host operating system. They’re also not tied to any specific infrastructure –
Docker containers run on any computer, on any infrastructure and in any
cloud.
DOCKER IS NOT
 A programming language
 An OS
 A Virtual Machine
 An image in the traditional hypervisor-based Virtual Machine concept
GLOSSARY
 Docker, aka Docker Engine: the daemon managing docker images and containers (using
namespaces and cgroups). It runs on the (Linux-based) Host.
 Docker client: the binary interacting with the Docker Engine.
 Docker Image: a filesystem (read-only template) used to create a Container (think “the binary”)
 Docker Container: a running image providing a service (think “the process”)
 Host: the computer running the Docker Engine
 Docker Registry: a private or public (Docker Hub) collection of Docker Images
 Docker Machine: provision hosts and install Docker on them
 Docker Compose: create and manage multi-container architectures
 Docker Swarm: orchestrating tool to provision and schedule containers
ARCHITECTURE
Docker uses a client-server architecture. The Docker client talks to the
Docker-daemon, which does the heavy lifting of building, running, and
distributing your Docker containers.
The Docker client and daemon communicate via sockets or through a
RESTful API.
ARCHITECTURE…
 The Docker daemon
• the Docker daemon runs on a host machine. The user does not directly interact with the daemon, but instead
through the Docker client.
 The Docker client
• The Docker client, in the form of the docker binary, is the primary user interface to Docker. It accepts commands
from the user and communicates back and forth with a Docker daemon.
 Docker Internals
• Docker images
• Docker registries
• Docker containers
 How it works?
• You can build Docker images that hold your applications.
• You can create Docker containers from those Docker images to run your applications.
• You can share those Docker images via Docker Hub or your own registry.
DOCKER AND THE KERNEL
 Containers interact with the kernel through system calls
 There are no parts of the kernel or kernel modules inside a container
 A container cannot use a different kernel (version) than the host
 The same kernel is shared by all the containers
DOCKER NETWORKING
 Docs https://docs.docker.com/engine/userguide/networking/dockernetworks/
 Create a Swarm cluster with networking https://github.com/chanezon/docker-
tips/orchestration-networking
 Networking in compose
https://github.com/docker/compose/blob/master/docs/networking.md
 Nathan Leclaire Seamless Docker Multihost Overlay Networking on
DigitalOcean With Machine, Swarm, and Compose, RethinkDB
http://nathanleclaire.com/blog/2015/11/17/seamless-docker-multihost-
overlay-networking-on-digitalocean-with-machine-swarm-and-compose-ft.-
rethinkdb/

More Related Content

What's hot (20)

PDF
Docker Basics
Eueung Mulyana
 
PPTX
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Simplilearn
 
PDF
Docker Container-Introduction and Features
Ashnikbiz
 
PDF
Docker for developers
andrzejsydor
 
PPTX
Docker 101 Checonf 2016
Patrick Chanezon
 
PPTX
Introduction To Docker
Dr. Syed Hassan Amin
 
PDF
docker installation and basics
Walid Ashraf
 
PDF
Introduction to docker
Instruqt
 
PDF
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
PDF
Docker in real life
Nguyen Van Vuong
 
PPTX
Virtual Container - Docker
Venkata Naga Ravi
 
PPTX
Docker Basics
DuckDuckGo
 
PDF
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
dotCloud
 
PPTX
Docker intro
Oleg Z
 
PDF
Docker on Google App Engine
Docker, Inc.
 
PDF
Building Reusable Development Environments with Docker
Revelation Technologies
 
PPTX
Docker and the Container Ecosystem
psconnolly
 
PPT
Docker introduction
Phuc Nguyen
 
PPTX
Virtualization, Containers, Docker and scalable container management services
abhishek chawla
 
PDF
Docker at Djangocon 2013 | Talk by Ken Cochrane
dotCloud
 
Docker Basics
Eueung Mulyana
 
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Simplilearn
 
Docker Container-Introduction and Features
Ashnikbiz
 
Docker for developers
andrzejsydor
 
Docker 101 Checonf 2016
Patrick Chanezon
 
Introduction To Docker
Dr. Syed Hassan Amin
 
docker installation and basics
Walid Ashraf
 
Introduction to docker
Instruqt
 
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
Docker in real life
Nguyen Van Vuong
 
Virtual Container - Docker
Venkata Naga Ravi
 
Docker Basics
DuckDuckGo
 
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
dotCloud
 
Docker intro
Oleg Z
 
Docker on Google App Engine
Docker, Inc.
 
Building Reusable Development Environments with Docker
Revelation Technologies
 
Docker and the Container Ecosystem
psconnolly
 
Docker introduction
Phuc Nguyen
 
Virtualization, Containers, Docker and scalable container management services
abhishek chawla
 
Docker at Djangocon 2013 | Talk by Ken Cochrane
dotCloud
 

Similar to Docker : Container Virtualization (20)

PPTX
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
PDF
Docker Introduction
Peng Xiao
 
PDF
Docker interview Questions-1.pdf
Yogeshwaran R
 
PPTX
CONTAINERIZATION WITH DOCKER .pptx
SanjuGamesphere
 
PPTX
Docker intro
NoelMc Grath
 
PDF
Introduction to Docker - IndiaOpsUG
Ajeet Singh Raina
 
PDF
An Introduction To Docker
Gabriella Davis
 
PPTX
Docker-Hanoi @DKT , Presentation about Docker Ecosystem
Van Phuc
 
PDF
Agile Brown Bag - Vagrant & Docker: Introduction
Agile Partner S.A.
 
PPTX
Docker introduction
Gourav Varma
 
PPTX
Docker introduction (1)
Gourav Varma
 
PPTX
Docker introduction (1)
Gourav Varma
 
PPTX
Lectre # 11 (VS&S). virtualization .pptx
farheengul004
 
PPTX
Dockerize the World - presentation from Hradec Kralove
damovsky
 
PDF
Introduction to Docker Containers - Docker Captain
Ajeet Singh Raina
 
PPTX
Intro Docker october 2013
dotCloud
 
PPTX
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PPTX
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PPTX
Dockerize the World
damovsky
 
PPTX
Docker lxc win
rahulmore01
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
Docker Introduction
Peng Xiao
 
Docker interview Questions-1.pdf
Yogeshwaran R
 
CONTAINERIZATION WITH DOCKER .pptx
SanjuGamesphere
 
Docker intro
NoelMc Grath
 
Introduction to Docker - IndiaOpsUG
Ajeet Singh Raina
 
An Introduction To Docker
Gabriella Davis
 
Docker-Hanoi @DKT , Presentation about Docker Ecosystem
Van Phuc
 
Agile Brown Bag - Vagrant & Docker: Introduction
Agile Partner S.A.
 
Docker introduction
Gourav Varma
 
Docker introduction (1)
Gourav Varma
 
Docker introduction (1)
Gourav Varma
 
Lectre # 11 (VS&S). virtualization .pptx
farheengul004
 
Dockerize the World - presentation from Hradec Kralove
damovsky
 
Introduction to Docker Containers - Docker Captain
Ajeet Singh Raina
 
Intro Docker october 2013
dotCloud
 
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Dockerize the World
damovsky
 
Docker lxc win
rahulmore01
 
Ad

More from Ranjan Baisak (6)

PDF
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
PPTX
Cloud Native Migration Steps
Ranjan Baisak
 
PPTX
PR agency - a personalized marketing analysis platform
Ranjan Baisak
 
PPTX
CabXury - a social cab sharing service
Ranjan Baisak
 
PPTX
Semantic based Enterprise Search Solution in Networking Domain
Ranjan Baisak
 
PPTX
Micro Services Architecture
Ranjan Baisak
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Cloud Native Migration Steps
Ranjan Baisak
 
PR agency - a personalized marketing analysis platform
Ranjan Baisak
 
CabXury - a social cab sharing service
Ranjan Baisak
 
Semantic based Enterprise Search Solution in Networking Domain
Ranjan Baisak
 
Micro Services Architecture
Ranjan Baisak
 
Ad

Recently uploaded (20)

PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
PDF
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PPTX
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
PPTX
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
Revolutionizing Code Modernization with AI
KrzysztofKkol1
 
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 

Docker : Container Virtualization

  • 3. WHAT IS DOCKER  An Open-Source (Go) framework to manage “container virtualization”  Docker isolates multiple user spaces (file systems) inside the same host  The user space instances are called “Containers”  They give you the illusion of being inside a VM  Think about “execution environments” or “sandboxes”  No need for an hypervisor (and so very quick to launch)  Requires x64 Linux and kernel 3.8+
  • 4. WHAT IS DOCKER  An Open-Source (Go) framework to manage “container virtualization”  Docker isolates multiple user spaces (file systems) inside the same host  The user space instances are called “Containers”  They give you the illusion of being inside a VM  Think about “execution environments” or “sandboxes”  No need for an hypervisor (and so very quick to launch)  Requires x64 Linux and kernel 3.8+
  • 5. VIRTUAL MACHINE VS DOCKER Virtual Machines Each virtual machine includes the application, the necessary binaries and libraries and an entire guest operating system - all of which may be tens of GBs in size. Containers Containers include the application and all of its dependencies, but share the kernel with other containers. They run as an isolated process in userspace on the host operating system. They’re also not tied to any specific infrastructure – Docker containers run on any computer, on any infrastructure and in any cloud.
  • 6. DOCKER IS NOT  A programming language  An OS  A Virtual Machine  An image in the traditional hypervisor-based Virtual Machine concept
  • 7. GLOSSARY  Docker, aka Docker Engine: the daemon managing docker images and containers (using namespaces and cgroups). It runs on the (Linux-based) Host.  Docker client: the binary interacting with the Docker Engine.  Docker Image: a filesystem (read-only template) used to create a Container (think “the binary”)  Docker Container: a running image providing a service (think “the process”)  Host: the computer running the Docker Engine  Docker Registry: a private or public (Docker Hub) collection of Docker Images  Docker Machine: provision hosts and install Docker on them  Docker Compose: create and manage multi-container architectures  Docker Swarm: orchestrating tool to provision and schedule containers
  • 8. ARCHITECTURE Docker uses a client-server architecture. The Docker client talks to the Docker-daemon, which does the heavy lifting of building, running, and distributing your Docker containers. The Docker client and daemon communicate via sockets or through a RESTful API.
  • 9. ARCHITECTURE…  The Docker daemon • the Docker daemon runs on a host machine. The user does not directly interact with the daemon, but instead through the Docker client.  The Docker client • The Docker client, in the form of the docker binary, is the primary user interface to Docker. It accepts commands from the user and communicates back and forth with a Docker daemon.  Docker Internals • Docker images • Docker registries • Docker containers  How it works? • You can build Docker images that hold your applications. • You can create Docker containers from those Docker images to run your applications. • You can share those Docker images via Docker Hub or your own registry.
  • 10. DOCKER AND THE KERNEL  Containers interact with the kernel through system calls  There are no parts of the kernel or kernel modules inside a container  A container cannot use a different kernel (version) than the host  The same kernel is shared by all the containers
  • 11. DOCKER NETWORKING  Docs https://docs.docker.com/engine/userguide/networking/dockernetworks/  Create a Swarm cluster with networking https://github.com/chanezon/docker- tips/orchestration-networking  Networking in compose https://github.com/docker/compose/blob/master/docs/networking.md  Nathan Leclaire Seamless Docker Multihost Overlay Networking on DigitalOcean With Machine, Swarm, and Compose, RethinkDB http://nathanleclaire.com/blog/2015/11/17/seamless-docker-multihost- overlay-networking-on-digitalocean-with-machine-swarm-and-compose-ft.- rethinkdb/