SlideShare a Scribd company logo
5
Most read
15
Most read
Introduction to Docker Containerization
What is Docker ?
● System level virtualisation
technology.
● Produces Lightweight virtual
machines.
● Isolate processes from the host
environment (fs isolation, net
isolation, id isolation).
Docker VS VMs ?
Docker
Virtual Machine
Why Docker ?
● Package applications and their dependencies
in one portable abstract unit.
● Shortens deployment time and effort.
● Ease application scaling on a very large
compute domain.
● New perspectives : Micro-services based
architecture.
Docker Ecosystem
Creating the first Docker Container
● Pull the Ubuntu image from the registry.
$ docker image pull ubuntu
● Start a container based on the Ubuntu image
$ docker container run -it –-name ubuntu ubuntu /bin/sh
Listing images and containers
● List images
$ docker images
$ docker image ls
● List running containers
$ docker ps
$ docker container ls
● List all containers
$ docker ps -a
$ docker container ls -a
Start in detached mode
● Add -d option to docker run
$ docker run -dit –-name ubuntu ubuntu /bin/sh
● To leave container without exiting it
CTRL + P + Q
● To connect the terminal to the detached container
$ docker attach {id} | {NAME}
Networking
● Default mode is bridge : All containers
and host are connected to a virtual
switch in the same subnet 172.17.0.0/16
● List network drivers
$ docker network ls
● Show information of a network driver
$ docker network inspect bridge
Deploy a real application
● We will deploy Flask application
● Start from a base image of Ubuntu
with Python and Flask installed
● Create a new image and add our
custom application.
Dockerfile
● It is a text file that contains a sequence of
instruction to build an image from an existing
one.
● Build the image with
$ docker build -t <tag>
● Launch the container
$ docker run -d –-name app <tag>
Micro-services and scaling
● What if we have multiple services and
we want to automate the process of
deployment ?
● Or What if we want to scale up our
application with ease ?
Docker-compose
● Docker-compose is a mean to describe
the deployment of multiple
containers/services with one single
yml file.
● It eases the scaling up of an
application.
Docker-compose
Docker-compose
● Bring up the services with
$ docker-compose up
●
Describe you services with docker-compose.yml
●
Three web applications
●
One nginx reverse proxy

More Related Content

What's hot (20)

PPTX
Docker introduction &amp; benefits
Amit Manwade
 
PPT
Docker introduction
Phuc Nguyen
 
PDF
Docker Introduction
Peng Xiao
 
PDF
Introduction to Docker
Luong Vo
 
PPTX
Docker intro
Oleg Z
 
PDF
Introduction to Docker - VIT Campus
Ajeet Singh Raina
 
PPTX
Docker introduction
dotCloud
 
PPTX
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Simplilearn
 
PDF
Introduction to Docker storage, volume and image
ejlp12
 
PPTX
Docker 101 : Introduction to Docker and Containers
Yajushi Srivastava
 
PDF
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
PDF
Docker on Docker
Docker, Inc.
 
PPTX
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
PPTX
Docker and kubernetes
Dongwon Kim
 
PDF
Docker Compose by Aanand Prasad
Docker, Inc.
 
PDF
Pipeline Devops - Intégration continue : ansible, jenkins, docker, jmeter...
XavierPestel
 
PDF
Docker란 무엇인가? : Docker 기본 사용법
pyrasis
 
PPTX
Dockers and containers basics
Sourabh Saxena
 
PPTX
Docker Basic to Advance
Paras Jain
 
PPTX
Getting started with Docker
Ravindu Fernando
 
Docker introduction &amp; benefits
Amit Manwade
 
Docker introduction
Phuc Nguyen
 
Docker Introduction
Peng Xiao
 
Introduction to Docker
Luong Vo
 
Docker intro
Oleg Z
 
Introduction to Docker - VIT Campus
Ajeet Singh Raina
 
Docker introduction
dotCloud
 
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Simplilearn
 
Introduction to Docker storage, volume and image
ejlp12
 
Docker 101 : Introduction to Docker and Containers
Yajushi Srivastava
 
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
Docker on Docker
Docker, Inc.
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Simplilearn
 
Docker and kubernetes
Dongwon Kim
 
Docker Compose by Aanand Prasad
Docker, Inc.
 
Pipeline Devops - Intégration continue : ansible, jenkins, docker, jmeter...
XavierPestel
 
Docker란 무엇인가? : Docker 기본 사용법
pyrasis
 
Dockers and containers basics
Sourabh Saxena
 
Docker Basic to Advance
Paras Jain
 
Getting started with Docker
Ravindu Fernando
 

Similar to Docker Introduction (20)

PPTX
Powercoders · Docker · Fall 2021.pptx
IgnacioTamayo2
 
PDF
DOCKER-PIAIC-SLIDES
MuhammadAhmed651877
 
PDF
Introduction of Docker and Docker Compose
Dr. Ketan Parmar
 
PDF
Docker primer and tips
Samuel Chow
 
PPTX
Docker
Mutlu Okuducu
 
ODP
Docker - The Linux container
Balaji Rajan
 
PDF
Docker in everyday development
Justyna Ilczuk
 
PDF
Introduction to Docker and Monitoring with InfluxData
InfluxData
 
PPTX
Primi passi con Docker - ItalianCoders - 12-01-2021
Alessandro Mignogna
 
PDF
Docker+java
DPC Consulting Ltd
 
PDF
Docker Up and Running for Web Developers
Amr Fawzy
 
PDF
Docker up and Running For Web Developers
BADR
 
PDF
Docker.pdf
UsamaMushtaq24
 
PDF
Docker Essentials Workshop— Innovation Labs July 2020
CloudHero
 
PPT
14309525_docker_docker_docker_docker_introduction.ppt
aravym456
 
PPTX
Accelerate your development with Docker
Andrey Hristov
 
PDF
Accelerate your software development with Docker
Andrey Hristov
 
PDF
[@NaukriEngineering] Docker 101
Naukri.com
 
PDF
ContainerDayVietnam2016: Dockerize a small business
Docker-Hanoi
 
PDF
Docker Intro
Ruben Taelman
 
Powercoders · Docker · Fall 2021.pptx
IgnacioTamayo2
 
DOCKER-PIAIC-SLIDES
MuhammadAhmed651877
 
Introduction of Docker and Docker Compose
Dr. Ketan Parmar
 
Docker primer and tips
Samuel Chow
 
Docker - The Linux container
Balaji Rajan
 
Docker in everyday development
Justyna Ilczuk
 
Introduction to Docker and Monitoring with InfluxData
InfluxData
 
Primi passi con Docker - ItalianCoders - 12-01-2021
Alessandro Mignogna
 
Docker+java
DPC Consulting Ltd
 
Docker Up and Running for Web Developers
Amr Fawzy
 
Docker up and Running For Web Developers
BADR
 
Docker.pdf
UsamaMushtaq24
 
Docker Essentials Workshop— Innovation Labs July 2020
CloudHero
 
14309525_docker_docker_docker_docker_introduction.ppt
aravym456
 
Accelerate your development with Docker
Andrey Hristov
 
Accelerate your software development with Docker
Andrey Hristov
 
[@NaukriEngineering] Docker 101
Naukri.com
 
ContainerDayVietnam2016: Dockerize a small business
Docker-Hanoi
 
Docker Intro
Ruben Taelman
 
Ad

Recently uploaded (20)

PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
The Future of Artificial Intelligence (AI)
Mukul
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
Machine Learning Benefits Across Industries
SynapseIndia
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
OpenInfra ID 2025 - Are Containers Dying? Rethinking Isolation with MicroVMs.pdf
Muhammad Yuga Nugraha
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Ad

Docker Introduction

  • 1. Introduction to Docker Containerization
  • 2. What is Docker ? ● System level virtualisation technology. ● Produces Lightweight virtual machines. ● Isolate processes from the host environment (fs isolation, net isolation, id isolation).
  • 3. Docker VS VMs ? Docker Virtual Machine
  • 4. Why Docker ? ● Package applications and their dependencies in one portable abstract unit. ● Shortens deployment time and effort. ● Ease application scaling on a very large compute domain. ● New perspectives : Micro-services based architecture.
  • 6. Creating the first Docker Container ● Pull the Ubuntu image from the registry. $ docker image pull ubuntu ● Start a container based on the Ubuntu image $ docker container run -it –-name ubuntu ubuntu /bin/sh
  • 7. Listing images and containers ● List images $ docker images $ docker image ls ● List running containers $ docker ps $ docker container ls ● List all containers $ docker ps -a $ docker container ls -a
  • 8. Start in detached mode ● Add -d option to docker run $ docker run -dit –-name ubuntu ubuntu /bin/sh ● To leave container without exiting it CTRL + P + Q ● To connect the terminal to the detached container $ docker attach {id} | {NAME}
  • 9. Networking ● Default mode is bridge : All containers and host are connected to a virtual switch in the same subnet 172.17.0.0/16 ● List network drivers $ docker network ls ● Show information of a network driver $ docker network inspect bridge
  • 10. Deploy a real application ● We will deploy Flask application ● Start from a base image of Ubuntu with Python and Flask installed ● Create a new image and add our custom application.
  • 11. Dockerfile ● It is a text file that contains a sequence of instruction to build an image from an existing one. ● Build the image with $ docker build -t <tag> ● Launch the container $ docker run -d –-name app <tag>
  • 12. Micro-services and scaling ● What if we have multiple services and we want to automate the process of deployment ? ● Or What if we want to scale up our application with ease ?
  • 13. Docker-compose ● Docker-compose is a mean to describe the deployment of multiple containers/services with one single yml file. ● It eases the scaling up of an application.
  • 15. Docker-compose ● Bring up the services with $ docker-compose up ● Describe you services with docker-compose.yml ● Three web applications ● One nginx reverse proxy