SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
Introduction To
Docker
By Pubudu Jayawardana
Integration Developer
24/10/2018
Road Map
● Introduction
● Docker tools
● Docker in action
● Building custom images
● Communicating between containers
● Docker compose
● Docker in cloud
0 Road Map
Introduction
● What is Docker
● Benefits
● Docker Editions
1 Introduction
What is Docker
Docker is a computer program that performs operating-
system-level virtualization, also known as "containerization"
● Container : Is a standard unit of software that packages
up code and all its dependencies so the application runs
quickly and reliably from one computing environment
to another
Simplified process of building, shipping and running apps in
different environment
1 Introduction
Containers vs VMs
1 Introduction
Image Vs Container
● Image is the blueprint of a container
○ Read-only, layered file system
● Container is where the actual code runs on
based on the image
1 Introduction
Image Vs Container
1 Introduction
Introduction
Benefits
● Easy and fast developer onboarding
● Eliminate app conflicts
● Consistent in different environment
● Ship software faster (Or fail fast)
1
Introduction
Docker Editions
● Docker Community Edition - CE
● Docker Community Edition - EE
1
Docker Tools
● Docker Engine / Daemon
● Docker Client
> docker version
● Docker Compose
> docker-compose version
● Docker Toolbox / Docker Kitematic (Legacy
desktop solution)
● Docker Hub (https://hub.docker.com)
● Dockerfile, Volumes, Networks, and many more...
2 Docker Tools
Docker in Action
> docker --help
3 Docker in Action
Docker in Action : Summary
3 Docker in Action
$ docker run -d --rm -v $(pwd):/app -w /app --env port=1000 --name node_server node node server.js
$ docker exec -it node_server npm install
$ docker inspect node_server
$ docker logs --follow node_server
● Dockerfile
● Build custom images
> docker build
● Intermediate images
● Publish to Docker Hub / Private repository
> docker login
> docker push
○ https://docs.docker.com/registry/
Build Custom Images
4 Build Custom Images
Build Custom Images : Summary
4 Build Custom Images
$ docker build -t namespace/name:tag -f Dockerfile_name directory
Communicating Between Containers
5 Communicating Between Containers
Communicating Between Containers
● Linking containers
> --name
● Container network
> docker network
5 Communicating Between Containers
Docker Compose
● docker-compose.yml
○ Version
○ Services
○ Networks
● docker-compose commands
○ start
○ stop
○ up
○ down
6 Docker Compose
Docker Deployment
● Docker cloud
● Orchestration with Swarm / kubernetes
7 Docker in Cloud
Questions?
Introduction to Docker

More Related Content

PPTX
Docker 101 : Introduction to Docker and Containers
PDF
The Patterns of Distributed Logging and Containers
PPTX
Getting started with Docker
PPTX
The Future of Cloud Computing in 2021
PPTX
Introduction to docker
PDF
DevOps introduction
PDF
Docker 101: Introduction to Docker
PDF
Introduction to Docker
Docker 101 : Introduction to Docker and Containers
The Patterns of Distributed Logging and Containers
Getting started with Docker
The Future of Cloud Computing in 2021
Introduction to docker
DevOps introduction
Docker 101: Introduction to Docker
Introduction to Docker

What's hot (20)

PPTX
Docker introduction (1)
PDF
Docker Introduction
PPTX
Docker: From Zero to Hero
PPTX
Docker intro
PDF
Introduction to container based virtualization with docker
PPT
Docker introduction
PPTX
Docker.pptx
PDF
Introduction to Docker - VIT Campus
PPTX
What is Docker
PDF
Introduction to docker
PDF
Introduction to Docker
PPTX
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
PPTX
Dockers and containers basics
PDF
Docker Introduction
PDF
Introduction to Docker Compose
PPTX
Introduction to Docker - 2017
PDF
Docker Introduction
PPTX
Docker introduction
PDF
Introduction to Docker storage, volume and image
Docker introduction (1)
Docker Introduction
Docker: From Zero to Hero
Docker intro
Introduction to container based virtualization with docker
Docker introduction
Docker.pptx
Introduction to Docker - VIT Campus
What is Docker
Introduction to docker
Introduction to Docker
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
Dockers and containers basics
Docker Introduction
Introduction to Docker Compose
Introduction to Docker - 2017
Docker Introduction
Docker introduction
Introduction to Docker storage, volume and image
Ad

Similar to Introduction to Docker (20)

PDF
Docker Up and Running for Web Developers
PDF
Docker up and Running For Web Developers
PDF
DOCKER-PIAIC-SLIDES
PDF
Docker primer and tips
PPTX
Docker with WordPress
PPT
14309525_docker_docker_docker_docker_introduction.ppt
PPTX
Powercoders · Docker · Fall 2021.pptx
PDF
Faster and Easier Software Development using Docker Platform
PDF
Introduction to Docker and Monitoring with InfluxData
PDF
Docker introduction - Part 1
PPTX
Getting started with docker (2017)
PDF
[@NaukriEngineering] Docker 101
PDF
Containerization using docker
PPTX
Docker complete presentation related to all
PPTX
Run automated tests in Docker
ODP
Docker Basics
ODP
DevAssistant, Docker and You
PDF
Dockerize Your Project - GDGBogor
PDF
Introduction of Docker and Docker Compose
ODP
Docker on Power Systems
Docker Up and Running for Web Developers
Docker up and Running For Web Developers
DOCKER-PIAIC-SLIDES
Docker primer and tips
Docker with WordPress
14309525_docker_docker_docker_docker_introduction.ppt
Powercoders · Docker · Fall 2021.pptx
Faster and Easier Software Development using Docker Platform
Introduction to Docker and Monitoring with InfluxData
Docker introduction - Part 1
Getting started with docker (2017)
[@NaukriEngineering] Docker 101
Containerization using docker
Docker complete presentation related to all
Run automated tests in Docker
Docker Basics
DevAssistant, Docker and You
Dockerize Your Project - GDGBogor
Introduction of Docker and Docker Compose
Docker on Power Systems
Ad

Recently uploaded (20)

PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Transform Your Business with a Software ERP System
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Introduction to Artificial Intelligence
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
System and Network Administration Chapter 2
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
AI in Product Development-omnex systems
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
PTS Company Brochure 2025 (1).pdf.......
Upgrade and Innovation Strategies for SAP ERP Customers
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
How to Migrate SBCGlobal Email to Yahoo Easily
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Transform Your Business with a Software ERP System
Wondershare Filmora 15 Crack With Activation Key [2025
Introduction to Artificial Intelligence
How Creative Agencies Leverage Project Management Software.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
ISO 45001 Occupational Health and Safety Management System
System and Network Administration Chapter 2
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Odoo Companies in India – Driving Business Transformation.pdf
Odoo POS Development Services by CandidRoot Solutions
Design an Analysis of Algorithms II-SECS-1021-03
AI in Product Development-omnex systems
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PTS Company Brochure 2025 (1).pdf.......

Introduction to Docker

  • 1. Introduction To Docker By Pubudu Jayawardana Integration Developer 24/10/2018
  • 2. Road Map ● Introduction ● Docker tools ● Docker in action ● Building custom images ● Communicating between containers ● Docker compose ● Docker in cloud 0 Road Map
  • 3. Introduction ● What is Docker ● Benefits ● Docker Editions 1 Introduction
  • 4. What is Docker Docker is a computer program that performs operating- system-level virtualization, also known as "containerization" ● Container : Is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another Simplified process of building, shipping and running apps in different environment 1 Introduction
  • 5. Containers vs VMs 1 Introduction
  • 6. Image Vs Container ● Image is the blueprint of a container ○ Read-only, layered file system ● Container is where the actual code runs on based on the image 1 Introduction
  • 7. Image Vs Container 1 Introduction
  • 8. Introduction Benefits ● Easy and fast developer onboarding ● Eliminate app conflicts ● Consistent in different environment ● Ship software faster (Or fail fast) 1
  • 9. Introduction Docker Editions ● Docker Community Edition - CE ● Docker Community Edition - EE 1
  • 10. Docker Tools ● Docker Engine / Daemon ● Docker Client > docker version ● Docker Compose > docker-compose version ● Docker Toolbox / Docker Kitematic (Legacy desktop solution) ● Docker Hub (https://hub.docker.com) ● Dockerfile, Volumes, Networks, and many more... 2 Docker Tools
  • 11. Docker in Action > docker --help 3 Docker in Action
  • 12. Docker in Action : Summary 3 Docker in Action $ docker run -d --rm -v $(pwd):/app -w /app --env port=1000 --name node_server node node server.js $ docker exec -it node_server npm install $ docker inspect node_server $ docker logs --follow node_server
  • 13. ● Dockerfile ● Build custom images > docker build ● Intermediate images ● Publish to Docker Hub / Private repository > docker login > docker push ○ https://docs.docker.com/registry/ Build Custom Images 4 Build Custom Images
  • 14. Build Custom Images : Summary 4 Build Custom Images $ docker build -t namespace/name:tag -f Dockerfile_name directory
  • 15. Communicating Between Containers 5 Communicating Between Containers
  • 16. Communicating Between Containers ● Linking containers > --name ● Container network > docker network 5 Communicating Between Containers
  • 17. Docker Compose ● docker-compose.yml ○ Version ○ Services ○ Networks ● docker-compose commands ○ start ○ stop ○ up ○ down 6 Docker Compose
  • 18. Docker Deployment ● Docker cloud ● Orchestration with Swarm / kubernetes 7 Docker in Cloud

Editor's Notes

  • #7: Image contains a set of file layers required to run a program.
  • #10: Docker Machine dockerd -v Docker Client docker -v Docker Hub https://hub.docker.com
  • #11: Docker Machine dockerd -v Docker Client docker -v Docker Hub https://hub.docker.com
  • #18: Version Services Network