SlideShare a Scribd company logo
4
Most read
6
Most read
10
Most read
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Do you know the following?
Why We Need
Docker? What Is Docker?
Hands-On
Docker Case-Study
1
4
2
6
Docker Components
5
Docker Example
3
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Why We Need Docker?
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Problems Before Docker
An application works in developer’s laptop but not in testing or production. This is due to difference in computing
environment between Dev, Test and Prod.
Code works
fine in my
laptop
There is some
problem with
the code
Dev Prod
In Dev there can be a software that is upgraded and in
Prod the old version of software might be present
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
The idea behind microservices is that some types of applications become easier to build and maintain when they are
broken down into smaller, composable pieces which work together. Each component is developed separately, and the
application is then simply the sum of its constituent components.
Problems Before Docker
Online
Shopping
Service
Product
Catalog
Cart
Server
Order
Server
Account
Service
Account DB
Product DB
Cart DB
Order DB
For example imagine an online shop with separate
microservices for user-accounts, product-catalog
order-processing and shopping carts
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Developing an application requires starting several of microservices in one machine. So if you are starting five of those
services you require five VMs on that machine.
Virtual Machines for starting
multiple microservices
Developer’s
Laptop
Problems Before Docker
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
How Docker Solves These Problems
You can run several microservices in the same VM by
running various Docker containers for each microservice.
Developer’s
Laptop
Virtual
Machine
Docker
Containers
Provides a consistent computing environment
throughout the whole SDLC.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
What Is Docker?
• Docker is a tool designed to make it easier to create, deploy, and
run applications by using containers.
• Docker containers are lightweight alternatives to Virtual
Machines and it uses the host OS.
• You don’t have to pre-allocate any RAM in containers.
Container 1 Container 2
App 1
BINS/LIBS
App 2
BINS/LIBS
Docker Engine
Host OS
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker In A Nutshell
Docker
File
Project Code
Docker Image
Docker
Container
Virtual Machine
Docker
Hub
Production
Server
Staging
Server
Container
Container
• Docker file builds a Docker image and that image contains all
the project's code
• You can run that image to create as many docker containers as
you want
• Then this Image can be uploaded on Docker hub, from Docker
hub any one can pull the image and build a container
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker
File Git Repo
Push the code
to Git Repo
Complex Requirements
for a microservice are
written in easy to write
DockerFile
Jenkins
Server
Production
Staging
Testing
• Create complex requirements for a microservice within
an easy-to-write Dockerfile.
• Push the code up to the Git Repo.
• CI server pull it down and build the exact
environment that will be used in production to
run the test suite without needing to configure
the CI server at all.
• Deploy it out to a staging environment for
testers.
• Roll exactly what you had in development,
testing, and staging into production
Docker Example
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Case-Study Indiana University
Problem Statement:
Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
VM
Custom
Script
VM
VM
Applications are deployed in
the VMs using custom scripts
1 • Their environment was optimized for their legacy Java-
based applications.
2
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Case-Study Indiana University
Problem Statement:
Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
3 UI
Business Logic
Data Access
Layer
Database
Monolithic Architecture
MicroserviceMicroserviceMicroservice
UI
Database Database Database
Microservice Architecture
The University wanted to improve the way they architect applications, by moving to a
microservices based architecture for their applications
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Case-Study Indiana University
Problem Statement:
Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
4
Security was needed for student’s data such as SSNs and student health
data.
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Case-Study Indiana University
Solution: Docker Data Center (DDC)
Management
Universal Control Plane
Security
LDAP
Registry Services
Trusted Registry
Orchestration
Swarm
Container Runtime
CS Engine
Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Case-Study Indiana University
Docker
Trusted
Registry
UCP
Web UI
It stores the Docker images
Helps in managing whole cluster from a single
place. Services are deployed using UCP web UI,
using Docker images that are stored in DTR. Host A
Host B
Host C
IT ops teams leverages Universal Control
Plane to provision Docker installed
software on hosts, and then deploy their
applications without having to do a
bunch of manual steps to set up all their
infrastructure.
Solution: Docker Data Center (DDC)
Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Registry
▪ Docker Registry is a storage component for Docker Images
▪ We can store the Images in either Public / Private repositories
▪ Docker Hub is Docker’s very own cloud repository
▪ Control where your images are being stored
▪ Integrate image storage with your in-house development workflow
Why Use Docker Registries?
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Images & Containers
▪ Read Only Template Used To Create Containers
▪ Built By Docker Users
▪ Stored In Docker Hub Or Your Local Registry
Docker Images
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Images & Containers
▪ Read Only Template Used To Create Containers
▪ Built By Docker Users
▪ Stored In Docker Hub Or Your Local Registry
Docker Images Docker Containers
▪ Isolated Application Platform
▪ Contains Everything Needed To Run The Application
▪ Built From One Or More Images
run
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Docker Compose
Docker Compose makes it easier to configure and run applications made up of multiple
containers. For the example: imagine being able to define three containers—one
running a web app, another running postgres, and a third running redis—all in one
YAML file and then running those three connected containers with a single command.
web app
postgres
redis
Docker
Compose
File
You can run these three containers
with a single command
Containers
www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING
Thank You
Questions/Queries/Feedback

More Related Content

PPTX
Docker: From Zero to Hero
PDF
Docker 101: Introduction to Docker
PPTX
Introduction to Docker - 2017
PDF
Introduction to docker
PPTX
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
PDF
Docker Introduction
PPTX
Docker 101 : Introduction to Docker and Containers
PDF
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...
Docker: From Zero to Hero
Docker 101: Introduction to Docker
Introduction to Docker - 2017
Introduction to docker
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
Docker Introduction
Docker 101 : Introduction to Docker and Containers
CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | DevOps...

What's hot (20)

PPTX
Docker introduction
PDF
Docker Introduction
PPTX
Docker introduction for the beginners
PDF
Introduction to Docker
PPTX
Docker Basics
PPTX
Introduction to Docker
PPTX
Docker intro
PPTX
Docker 101 - Nov 2016
PPT
Docker introduction
PPTX
Docker and kubernetes
PDF
Introduction to Docker
PPTX
What is Docker
PPTX
Docker introduction (1)
PPTX
Kubernetes for Beginners: An Introductory Guide
PPTX
Getting started with Docker
PDF
Kubernetes
PPT
presentation on Docker
PDF
Dockerfile
PDF
Intro to containerization
Docker introduction
Docker Introduction
Docker introduction for the beginners
Introduction to Docker
Docker Basics
Introduction to Docker
Docker intro
Docker 101 - Nov 2016
Docker introduction
Docker and kubernetes
Introduction to Docker
What is Docker
Docker introduction (1)
Kubernetes for Beginners: An Introductory Guide
Getting started with Docker
Kubernetes
presentation on Docker
Dockerfile
Intro to containerization
Ad

Similar to What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps Tools | Edureka (20)

PDF
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
PDF
Docker For Windows | Setting Up Docker On Windows | Edureka
PDF
Docker Birthday #3 Slides - Overview
PDF
Docker Birthday #3 - Intro to Docker Slides
PDF
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
PPTX
Docker - A Quick Introduction Guide
PDF
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
PPTX
Docker 101 describing basic docker usage
PDF
[@NaukriEngineering] Docker 101
PDF
Experts Live Europe 2017 - Why you should care about Docker - an introduction
PPT
Docker_tech_guild ppt.ppt technical guild
PDF
Docker - What it is and how to get started?
ODP
DevAssistant, Docker and You
PPTX
Webinar : Docker in Production
PDF
ContainerDayVietnam2016: Dockerize a small business
PDF
Build and automate your machine learning application with docker and jenkins
PPTX
Container on azure
PPTX
Docker with WordPress
PPTX
SS Introduction to Docker
PPTX
How to Dockerize Angular, Vue and React Web Apps
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker For Windows | Setting Up Docker On Windows | Edureka
Docker Birthday #3 Slides - Overview
Docker Birthday #3 - Intro to Docker Slides
Docker Networking | Container Network Model (CNM) | Docker Tutorial For Begin...
Docker - A Quick Introduction Guide
Getting Started With Docker | Docker Tutorial | Docker Training | Edureka
Docker 101 describing basic docker usage
[@NaukriEngineering] Docker 101
Experts Live Europe 2017 - Why you should care about Docker - an introduction
Docker_tech_guild ppt.ppt technical guild
Docker - What it is and how to get started?
DevAssistant, Docker and You
Webinar : Docker in Production
ContainerDayVietnam2016: Dockerize a small business
Build and automate your machine learning application with docker and jenkins
Container on azure
Docker with WordPress
SS Introduction to Docker
How to Dockerize Angular, Vue and React Web Apps
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Dell Pro 14 Plus: Be better prepared for what’s coming
PDF
ai-archetype-understanding-the-personality-of-agentic-ai.pdf
PDF
Top Generative AI Tools for Patent Drafting in 2025.pdf
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
REPORT: Heating appliances market in Poland 2024
PDF
DevOps & Developer Experience Summer BBQ
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PPTX
Web Security: Login Bypass, SQLi, CSRF & XSS.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Enable Enterprise-Ready Security on IBM i Systems.pdf
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PPTX
Belt and Road Supply Chain Finance Blockchain Solution
PPTX
How to Build Crypto Derivative Exchanges from Scratch.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
GamePlan Trading System Review: Professional Trader's Honest Take
Dell Pro 14 Plus: Be better prepared for what’s coming
ai-archetype-understanding-the-personality-of-agentic-ai.pdf
Top Generative AI Tools for Patent Drafting in 2025.pdf
Transforming Manufacturing operations through Intelligent Integrations
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
REPORT: Heating appliances market in Poland 2024
DevOps & Developer Experience Summer BBQ
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
Web Security: Login Bypass, SQLi, CSRF & XSS.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Enable Enterprise-Ready Security on IBM i Systems.pdf
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
Belt and Road Supply Chain Finance Blockchain Solution
How to Build Crypto Derivative Exchanges from Scratch.pptx

What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps Tools | Edureka

  • 2. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Do you know the following? Why We Need Docker? What Is Docker? Hands-On Docker Case-Study 1 4 2 6 Docker Components 5 Docker Example 3
  • 4. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Problems Before Docker An application works in developer’s laptop but not in testing or production. This is due to difference in computing environment between Dev, Test and Prod. Code works fine in my laptop There is some problem with the code Dev Prod In Dev there can be a software that is upgraded and in Prod the old version of software might be present
  • 5. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING The idea behind microservices is that some types of applications become easier to build and maintain when they are broken down into smaller, composable pieces which work together. Each component is developed separately, and the application is then simply the sum of its constituent components. Problems Before Docker Online Shopping Service Product Catalog Cart Server Order Server Account Service Account DB Product DB Cart DB Order DB For example imagine an online shop with separate microservices for user-accounts, product-catalog order-processing and shopping carts
  • 6. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Developing an application requires starting several of microservices in one machine. So if you are starting five of those services you require five VMs on that machine. Virtual Machines for starting multiple microservices Developer’s Laptop Problems Before Docker
  • 7. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING How Docker Solves These Problems You can run several microservices in the same VM by running various Docker containers for each microservice. Developer’s Laptop Virtual Machine Docker Containers Provides a consistent computing environment throughout the whole SDLC.
  • 8. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING What Is Docker? • Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. • Docker containers are lightweight alternatives to Virtual Machines and it uses the host OS. • You don’t have to pre-allocate any RAM in containers. Container 1 Container 2 App 1 BINS/LIBS App 2 BINS/LIBS Docker Engine Host OS
  • 9. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker In A Nutshell Docker File Project Code Docker Image Docker Container Virtual Machine Docker Hub Production Server Staging Server Container Container • Docker file builds a Docker image and that image contains all the project's code • You can run that image to create as many docker containers as you want • Then this Image can be uploaded on Docker hub, from Docker hub any one can pull the image and build a container
  • 10. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker File Git Repo Push the code to Git Repo Complex Requirements for a microservice are written in easy to write DockerFile Jenkins Server Production Staging Testing • Create complex requirements for a microservice within an easy-to-write Dockerfile. • Push the code up to the Git Repo. • CI server pull it down and build the exact environment that will be used in production to run the test suite without needing to configure the CI server at all. • Deploy it out to a staging environment for testers. • Roll exactly what you had in development, testing, and staging into production Docker Example
  • 11. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Case-Study Indiana University Problem Statement: Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter VM Custom Script VM VM Applications are deployed in the VMs using custom scripts 1 • Their environment was optimized for their legacy Java- based applications. 2
  • 12. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Case-Study Indiana University Problem Statement: Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter 3 UI Business Logic Data Access Layer Database Monolithic Architecture MicroserviceMicroserviceMicroservice UI Database Database Database Microservice Architecture The University wanted to improve the way they architect applications, by moving to a microservices based architecture for their applications
  • 13. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Case-Study Indiana University Problem Statement: Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter 4 Security was needed for student’s data such as SSNs and student health data.
  • 14. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Case-Study Indiana University Solution: Docker Data Center (DDC) Management Universal Control Plane Security LDAP Registry Services Trusted Registry Orchestration Swarm Container Runtime CS Engine Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
  • 15. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Case-Study Indiana University Docker Trusted Registry UCP Web UI It stores the Docker images Helps in managing whole cluster from a single place. Services are deployed using UCP web UI, using Docker images that are stored in DTR. Host A Host B Host C IT ops teams leverages Universal Control Plane to provision Docker installed software on hosts, and then deploy their applications without having to do a bunch of manual steps to set up all their infrastructure. Solution: Docker Data Center (DDC) Sorce: https://www.docker.com/customers/indiana-university-delivers-state-art-it-115000-students-docker-datacenter
  • 16. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Registry ▪ Docker Registry is a storage component for Docker Images ▪ We can store the Images in either Public / Private repositories ▪ Docker Hub is Docker’s very own cloud repository ▪ Control where your images are being stored ▪ Integrate image storage with your in-house development workflow Why Use Docker Registries?
  • 17. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Images & Containers ▪ Read Only Template Used To Create Containers ▪ Built By Docker Users ▪ Stored In Docker Hub Or Your Local Registry Docker Images
  • 18. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Images & Containers ▪ Read Only Template Used To Create Containers ▪ Built By Docker Users ▪ Stored In Docker Hub Or Your Local Registry Docker Images Docker Containers ▪ Isolated Application Platform ▪ Contains Everything Needed To Run The Application ▪ Built From One Or More Images run
  • 19. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Docker Compose Docker Compose makes it easier to configure and run applications made up of multiple containers. For the example: imagine being able to define three containers—one running a web app, another running postgres, and a third running redis—all in one YAML file and then running those three connected containers with a single command. web app postgres redis Docker Compose File You can run these three containers with a single command Containers
  • 20. www.edureka.co/devopsEDUREKA DEVOPS CERTIFICATION TRAINING Thank You Questions/Queries/Feedback