SlideShare a Scribd company logo
In brief
 Does Docker replace VM?
 What does it do?
 Is Docker useful for
developers or only for
system admins?
 What problems does it
solves?
 A virtual machine (VM) is an operating system or
application environment that is installed on software,
which imitates dedicated hardware.
 The end user has the same experience on a virtual
machine as they would have on dedicated hardware.
 Specialized software, called a hypervisor or Virtual
Machine Monitor, emulates the PC client or
server's CPU, memory, hard disk, network and other
hardware resources completely, enabling virtual
machines to share the resources.
 Virtualization limits costs by reducing the need for
physical hardware systems.
 Docker is a tool designed to make it easier to create,
deploy, and run applications by using containers.
 Docker containers wrap a piece of software in a
complete filesystem that contains everything needed
to run: code, runtime, system tools, system libraries –
anything that can be installed on a server.
 Containers running on a single machine share the
same operating system kernel.
 It gives a significant performance boost and reduces
the size of the application.
 Docker gives you the ability to snapshot the OS into
a shared image, and makes it easy to deploy on other
docker hosts. Locally, dev, qa, prod, etc.: all the same
image.
Virtual Machines Docker
Each VM has its own OS Shares the kernel with other
containers
Virtual machine images are
significantly large
Containers have much smaller
footprint comparatively.
A virtual machine could take up
several minutes to create and
launch.
A container can be created and
launched just in a few seconds
Benefits: security and isolation. Benefits: easier and more
lightweight to deploy and faster to
start up
In IaaS use cases, machine
virtualization is an ideal fit.
Containers are best suited for
packaging/shipping portable and
modular software
 Clearly—for DevOps and CI/CD initiatives—application portability and
consistency are crucial needs that Docker fulfills quite nicely.
 Simply put, containers provide OS-level process isolation whereas virtual
machines offer isolation at the hardware abstraction layer.
 Again, the two technologies can be used in conjunction with each other for added
benefits—for example, Docker containers can be created inside VMs to make a
solution ultra-portable.
 For now, Docker doesn’t replace VM.
 Use Docker as version control system for your entire app's operating system
 Use Docker when you want to distribute/collaborate on your app's operating
system with a team
 Use Docker to run your code on your laptop in the same environment as you have
on your server (try the building tool)
 Use Docker whenever your app needs to go through multiple phases of
development (dev/test/qa/prod)
 Use Docker with your Chef Cookbooks and Puppet Manifests
 The Amazon AMI Marketplace is the closest thing to the Docker Index that you
will find. With AMIs, you can only run them on Amazon. With Docker, you can run
the images on any Linux server that runs Docker.
 The Warden project is a LXC manager written for Cloud Foundry without any of
the social features of Docker like sharing images with other people on the Docker
Index
 The collaboration features (docker push and docker pull) are one of the most
disruptive parts of Docker.
 With Docker pull/push the developers and ops guys, have first time been able to
easily collaborate quickly on building infrastructure together.
 The developers can focus on building great applications and the ops guys can focus
on building perfect service containers.
 The app guys can share app containers with ops guys and the ops guys can share
MySQL and PosgreSQL and Redis servers with app guys.
It works on my
machine but
not on yours
I have been
helping the [new
hire] setup her
environment all
day
I can’t try it
because IT
hasn’t updated
dev-
environment
I have to work
directly on
production
environment to
fix this issue.
Create a local
Docker
container
Distribute it to
private or
public
collaborators
Enhance
collaboratively
Create a
production
Docker image
Pull it in local
development
environment.
Work on “just
like prod”
environment
Keep multiple
Docker
images
Switch between
Docker images
as you switch
projects
Be more
productive
Release new
Docker image
per product
release
Keep the
system
inconsistencies
in Limit
Be more
consistent
 Container - a runtime instance of a Docker image.
 Image - an ordered collection of root filesystem changes and execution parameters
for use within a running container.
 Layer - a “slice” of the container filesystem; one layer is created by each Dockerfile
instruction.
 Dockerfile - a text script that contains the commands you execute to build a
Docker image.
 Registry - a repository of images. It can be public or private. This is a web service.
Docker In Brief
 Docker can build images automatically by reading the instructions from a
Dockerfile.
 A Dockerfile is a text document that contains all the commands a user could call
on the command line to assemble an image.
 Using docker build users can create an automated build that executes several
command-line instructions in succession.
FROM ubuntu
MAINTAINER MyName
RUN apt-get update
RUN apt-get install -y nginx
COPY index.html
/usr/share/nginx/html/
ENTRYPOINT [“/usr/sbin/nginx”,”-
g”,”daemon off;”]
EXPOSE 80
Select the base image
Set the author
Add new layer on the image
specify the default app
that you want to run
Build An Image
$ docker build -t gvacca/nginx .
Store image in a registry
(public, e.g. Dockerhub, or
private)
$ docker push gvacca/nginx
Pull image on the target host
$ docker pull gvacca/nginx
Run container on the target
host
$ docker run -it gvacca/nginx
 Docker Machine: Provides a CLI to quickly provision a Docker Host. Deploys
locally or on a Cloud Provider AWS, Azure, GCE, DO, Rackspace, VMWare, etc…
 Docker Registry: Store and distribute your docker container images. Docker Hub
makes it easy: hub.docker.com.
 Docker Swarm: Exposes several Docker Engines as a single virtual Engine. Serves
the standard Docker API. Swarm is production ready Docker CLI.
 Docker Hub is a cloud hosted service from Docker that provides registry
capabilities for public and private content.
 In Docker Hub, you usually put Docker Images that can be used/searched by other
Docker users.
 Docker Hub lets developers store and distribute their images with ease. You can
search some ready to go building blocks for your infrastructure.
 Quickly create an organization, add users or create groups of users to collaborate
with your repositories.
 Browse and search any public Docker image repositories for popular content.
 Share your images with the community or host in private repositories for secure
collaboration with your team
Thank You!
mailto: ritukamthan@gmail.com

More Related Content

PDF
Let's dockerize
PPTX
Docker container a-brief_introduction_2016-01-30
PDF
Introduction to Docker Containers - Docker Captain
PDF
Docker Container-Introduction and Features
DOCX
Containerization Report
PDF
[@NaukriEngineering] Docker 101
PDF
Docker Basics
PPTX
Docker : Container Virtualization
Let's dockerize
Docker container a-brief_introduction_2016-01-30
Introduction to Docker Containers - Docker Captain
Docker Container-Introduction and Features
Containerization Report
[@NaukriEngineering] Docker 101
Docker Basics
Docker : Container Virtualization

What's hot (20)

PDF
Rebuild presentation during Docker's Birthday party
DOCX
Overview of Docker
PDF
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
PDF
Introduction to Docker
PDF
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
PDF
Containers, Docker, and Microservices: the Terrific Trio
PPTX
Microservices and docker
PPTX
Discussing the difference between docker dontainers and virtual machines
PPTX
Dockerization of Azure Platform
PPTX
Docker Basic Presentation
PDF
Docker Container Introduction
PDF
A Shift from Monolith to Microservice using Docker
PPTX
Dockerizing mule soft esb
PDF
Docker how to
PDF
Docker Commands With Examples | Docker Tutorial | DevOps Tutorial | Docker Tr...
PDF
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
PPTX
Docker Basics
PDF
Developing with Docker for the Arm Architecture
PPTX
Devoxx France 2015 - The Docker Orchestration Ecosystem on Azure
PDF
Introduction to container based virtualization with docker
Rebuild presentation during Docker's Birthday party
Overview of Docker
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
Introduction to Docker
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Containers, Docker, and Microservices: the Terrific Trio
Microservices and docker
Discussing the difference between docker dontainers and virtual machines
Dockerization of Azure Platform
Docker Basic Presentation
Docker Container Introduction
A Shift from Monolith to Microservice using Docker
Dockerizing mule soft esb
Docker how to
Docker Commands With Examples | Docker Tutorial | DevOps Tutorial | Docker Tr...
Dockerfile Tutorial with Example | Creating your First Dockerfile | Docker Tr...
Docker Basics
Developing with Docker for the Arm Architecture
Devoxx France 2015 - The Docker Orchestration Ecosystem on Azure
Introduction to container based virtualization with docker
Ad

Similar to Docker In Brief (20)

PPTX
Docker Ecosystem on Azure
PDF
Docker interview Questions-1.pdf
PDF
DOCKER-PIAIC-SLIDES
PDF
Docker slides
PPTX
Containerization using docker and its applications
PPTX
Containerization using docker and its applications
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
PPTX
You, and Me, and Docker Makes Three
PPTX
Docker presentation
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
PPTX
Docker Starter Pack
PDF
containers and virtualization tools ( Docker )
PDF
Introduction to Docker - IndiaOpsUG
PDF
codemotion-docker-2014
PPTX
Docker introduction
PPTX
Intro Docker october 2013
PDF
Continuous Integration with Docker on AWS
PDF
Docker up and Running For Web Developers
PDF
Docker Up and Running for Web Developers
PDF
Introduction to Docker and deployment and Azure
Docker Ecosystem on Azure
Docker interview Questions-1.pdf
DOCKER-PIAIC-SLIDES
Docker slides
Containerization using docker and its applications
Containerization using docker and its applications
Docker 0.11 at MaxCDN meetup in Los Angeles
You, and Me, and Docker Makes Three
Docker presentation
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Docker Starter Pack
containers and virtualization tools ( Docker )
Introduction to Docker - IndiaOpsUG
codemotion-docker-2014
Docker introduction
Intro Docker october 2013
Continuous Integration with Docker on AWS
Docker up and Running For Web Developers
Docker Up and Running for Web Developers
Introduction to Docker and deployment and Azure
Ad

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Electronic commerce courselecture one. Pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
KodekX | Application Modernization Development
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Electronic commerce courselecture one. Pdf
NewMind AI Weekly Chronicles - August'25 Week I
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
KodekX | Application Modernization Development
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)

Docker In Brief

  • 2.  Does Docker replace VM?  What does it do?  Is Docker useful for developers or only for system admins?  What problems does it solves?
  • 3.  A virtual machine (VM) is an operating system or application environment that is installed on software, which imitates dedicated hardware.  The end user has the same experience on a virtual machine as they would have on dedicated hardware.  Specialized software, called a hypervisor or Virtual Machine Monitor, emulates the PC client or server's CPU, memory, hard disk, network and other hardware resources completely, enabling virtual machines to share the resources.  Virtualization limits costs by reducing the need for physical hardware systems.
  • 4.  Docker is a tool designed to make it easier to create, deploy, and run applications by using containers.  Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server.  Containers running on a single machine share the same operating system kernel.  It gives a significant performance boost and reduces the size of the application.  Docker gives you the ability to snapshot the OS into a shared image, and makes it easy to deploy on other docker hosts. Locally, dev, qa, prod, etc.: all the same image.
  • 5. Virtual Machines Docker Each VM has its own OS Shares the kernel with other containers Virtual machine images are significantly large Containers have much smaller footprint comparatively. A virtual machine could take up several minutes to create and launch. A container can be created and launched just in a few seconds Benefits: security and isolation. Benefits: easier and more lightweight to deploy and faster to start up In IaaS use cases, machine virtualization is an ideal fit. Containers are best suited for packaging/shipping portable and modular software
  • 6.  Clearly—for DevOps and CI/CD initiatives—application portability and consistency are crucial needs that Docker fulfills quite nicely.  Simply put, containers provide OS-level process isolation whereas virtual machines offer isolation at the hardware abstraction layer.  Again, the two technologies can be used in conjunction with each other for added benefits—for example, Docker containers can be created inside VMs to make a solution ultra-portable.  For now, Docker doesn’t replace VM.
  • 7.  Use Docker as version control system for your entire app's operating system  Use Docker when you want to distribute/collaborate on your app's operating system with a team  Use Docker to run your code on your laptop in the same environment as you have on your server (try the building tool)  Use Docker whenever your app needs to go through multiple phases of development (dev/test/qa/prod)  Use Docker with your Chef Cookbooks and Puppet Manifests
  • 8.  The Amazon AMI Marketplace is the closest thing to the Docker Index that you will find. With AMIs, you can only run them on Amazon. With Docker, you can run the images on any Linux server that runs Docker.  The Warden project is a LXC manager written for Cloud Foundry without any of the social features of Docker like sharing images with other people on the Docker Index
  • 9.  The collaboration features (docker push and docker pull) are one of the most disruptive parts of Docker.  With Docker pull/push the developers and ops guys, have first time been able to easily collaborate quickly on building infrastructure together.  The developers can focus on building great applications and the ops guys can focus on building perfect service containers.  The app guys can share app containers with ops guys and the ops guys can share MySQL and PosgreSQL and Redis servers with app guys.
  • 10. It works on my machine but not on yours I have been helping the [new hire] setup her environment all day I can’t try it because IT hasn’t updated dev- environment I have to work directly on production environment to fix this issue.
  • 11. Create a local Docker container Distribute it to private or public collaborators Enhance collaboratively Create a production Docker image Pull it in local development environment. Work on “just like prod” environment Keep multiple Docker images Switch between Docker images as you switch projects Be more productive Release new Docker image per product release Keep the system inconsistencies in Limit Be more consistent
  • 12.  Container - a runtime instance of a Docker image.  Image - an ordered collection of root filesystem changes and execution parameters for use within a running container.  Layer - a “slice” of the container filesystem; one layer is created by each Dockerfile instruction.  Dockerfile - a text script that contains the commands you execute to build a Docker image.  Registry - a repository of images. It can be public or private. This is a web service.
  • 14.  Docker can build images automatically by reading the instructions from a Dockerfile.  A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.  Using docker build users can create an automated build that executes several command-line instructions in succession.
  • 15. FROM ubuntu MAINTAINER MyName RUN apt-get update RUN apt-get install -y nginx COPY index.html /usr/share/nginx/html/ ENTRYPOINT [“/usr/sbin/nginx”,”- g”,”daemon off;”] EXPOSE 80 Select the base image Set the author Add new layer on the image specify the default app that you want to run
  • 16. Build An Image $ docker build -t gvacca/nginx . Store image in a registry (public, e.g. Dockerhub, or private) $ docker push gvacca/nginx Pull image on the target host $ docker pull gvacca/nginx Run container on the target host $ docker run -it gvacca/nginx
  • 17.  Docker Machine: Provides a CLI to quickly provision a Docker Host. Deploys locally or on a Cloud Provider AWS, Azure, GCE, DO, Rackspace, VMWare, etc…  Docker Registry: Store and distribute your docker container images. Docker Hub makes it easy: hub.docker.com.  Docker Swarm: Exposes several Docker Engines as a single virtual Engine. Serves the standard Docker API. Swarm is production ready Docker CLI.
  • 18.  Docker Hub is a cloud hosted service from Docker that provides registry capabilities for public and private content.  In Docker Hub, you usually put Docker Images that can be used/searched by other Docker users.  Docker Hub lets developers store and distribute their images with ease. You can search some ready to go building blocks for your infrastructure.  Quickly create an organization, add users or create groups of users to collaborate with your repositories.  Browse and search any public Docker image repositories for popular content.  Share your images with the community or host in private repositories for secure collaboration with your team