SlideShare a Scribd company logo
LAUNCH ITWITH DOCKER
AMAL DEV
ABOUT ME
Full stack web developer in Microsoft
technology stack
10+ years of experience
Microsoft MVP
Technical Analyst@ UST Global
Blogger@ www.techrepository.in
Contact me @amaldevv
AGENDA
History
01
VM vs
Containers
02
Docker
Concepts
03
Best
Practices
04
Use Cases
05
Docker in
the Cloud
06
Live Demo
07
EARLY DAYS
EARLY DAYS
Cost
ResourceWastage
Difficult to migrate or scale
Vendor Lock-in
CONS
VIRTUALIZATION
VIRTUALIZATION
Optimal Resource Utilization
Easy to scale and maintain
Downtime reduced significantly
NoVendor Lock-in
PROS
VIRTUALIZATION
It still needs CPU allocation, Storage
and RAM
A guest OS
As no ofVM’s increases, more
resources is needed
CONS
CONTAINERS
Container based virtualization
uses the kernel on the host's
operating system to run multiple
guest instances
CONTAINERS
COMPARISON
CONTAINER VM
WHAT IS
DOCKER ?
Docker is an open-source engine that automates the
deployment of any application as a lightweight,
portable, self-sufficient container that will run virtually
anywhere.
Source : docker.io
WHAT
DOCKER
PROVIDES ?
Encapsulate applications into Docker
Containers
Distribute and Ship those containers
Deploy these in a data center or cloud
ARCHITECTURE
IMAGES &
CONTAINERS
IMAGES
 Immutable file
 Snapshot of the container
 Stored in Docker Hub/Private
Registry
CONTAINERS
 Based on images
 Contains everything needed
to run the application
 Isolated application platform
DOCKER
COMMANDS
docker –version
docker –info
docker images
docker ps
docker build
docker run
docker login
docker search
docker pull
docker push
docker tag
DOCKER_HOST
Images CacheContainers
RegistryClient
Docker pull Docker daemon
Docker run
Dot
Net
Dot
Net
Dot
Net
Dot
Net
WORKFLOW
Registry DOCKER_HOST
ImagesContainers
0001Program.cs110
HelloWorld.dll
111010111011011010
Code/Binaries
Client
Docker build
Docker daemon
FROM microsoft/dotnet:runtime
WORKDIR /app
COPY /app /app
ENTRYPOINT dotnet
HelloWorld.dll
dockerfile
Private Registry
Docker run
Docker push
Docker build
docker compose
Private Registry
Multi
Service
API
Multi
Service
DOCKER_HOST
ImagesContainers
Registry
Client
Docker-compose
Docker daemon
version: '2'
services:
multiservice:
image:
- multiservice:latest
environment:
- CustomerAPIService=http://webapi/api/Customer
ports:
- "80:80"
depends_on:
- webapi
webapi:
image:
- multiserviceapi:latest
Docker-compose.yml
Dot
Net
Multi
Service
Multi
Service
API
front
end
api
Multi
Service
Multi
Service
API
BEST
PRACTICES
 Don’t store data inside containers
 Don’t deploy applications into running containers
 Avoid creating larger images
 Try to avoid creating single layer images
 Avoid creating images from running containers
 Avoid hard coding of IPAddresses
 Don’t store credentials in the image
 Avoid running more than one process inside the container
 Exclude files using .dockerignore file
 Avoid installing unnecessary packages
USECASES
 Microservices
 CI/CD
 Multi-tenantApplications
 App Isolation
DOCKER IN
THECLOUD
 Docker Cloud
 dotCloud
 Azure Container Service
 AWS
QUESTIONS
THANKYOU

More Related Content

PPTX
Deploying ASP.Net Core apps in Docker Containers
PPTX
Forms + azure
PPTX
Ultimate Productivity Tools
PPTX
DevOps, Microservices, and Azure Container Service
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PDF
Cloud Native Jenkins Deployment in Azure
PDF
Lessons learned while going serverless in production
PDF
Deploy Angular to the Cloud (ngBucharest)
Deploying ASP.Net Core apps in Docker Containers
Forms + azure
Ultimate Productivity Tools
DevOps, Microservices, and Azure Container Service
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Cloud Native Jenkins Deployment in Azure
Lessons learned while going serverless in production
Deploy Angular to the Cloud (ngBucharest)

What's hot (20)

PDF
Lessons learned while going serverless in production
PPTX
Telepresence - Seamless Development Environments on Kubernetes
PPTX
What's new in containers
PPTX
Boston Cloud Meetup - IBM Containers
PDF
CI/CD for Serverless Applications on AWS
PPTX
How many iot technologies do you need to turn on a lightbulb (Kurt Claeys)
PDF
Docker Announces Open Source Compose for AWS ECS & Microsoft ACI
PDF
Microservices application deployment with docker
PDF
Running containerized application in AWS ECS
PPTX
Lessons from migrating container applications to azure
PPTX
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
PDF
Harnessing the power of aws using dot net core
PPTX
Ionic framework
PPT
Boston Cloud Foundry Meetup 5-22-14
PPTX
Azure Service Fabric: The road ahead for microservices
PPTX
Service Fabric Overview (Yves Goeleven)
PPTX
Build 2016 - B829 - Project Centennial: Bringing Existing Desktop Application...
PPTX
Modern Web Tour
PPT
Mcf presentation by Hai NGUYEN-Portal team
PPT
Cloud connected cross platform apps in visual studio
Lessons learned while going serverless in production
Telepresence - Seamless Development Environments on Kubernetes
What's new in containers
Boston Cloud Meetup - IBM Containers
CI/CD for Serverless Applications on AWS
How many iot technologies do you need to turn on a lightbulb (Kurt Claeys)
Docker Announces Open Source Compose for AWS ECS & Microsoft ACI
Microservices application deployment with docker
Running containerized application in AWS ECS
Lessons from migrating container applications to azure
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Harnessing the power of aws using dot net core
Ionic framework
Boston Cloud Foundry Meetup 5-22-14
Azure Service Fabric: The road ahead for microservices
Service Fabric Overview (Yves Goeleven)
Build 2016 - B829 - Project Centennial: Bringing Existing Desktop Application...
Modern Web Tour
Mcf presentation by Hai NGUYEN-Portal team
Cloud connected cross platform apps in visual studio
Ad

Similar to Launch It With Docker (20)

PDF
Docker-for-Virtualization-Admin-eBook.pdf
PDF
Mastering Docker and Kubernetes The Guide for Modern Devops.pdf
PPTX
SS Introduction to Docker
PPTX
Advantage wvde containerization - june 2018
PPTX
Docker 101 describing basic docker usage
PDF
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
PPTX
Introduction to docker
PDF
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
PPTX
Игорь Леонтьев "Azure Container Service: not only Docker"
PPTX
Yet Another Session about Docker and Containers​
DOCX
Containerization Report
PPTX
2020-02-10 Java on Azure Solution Briefing
PPTX
Docker Introduction SDP 12-2015
PPTX
VMworld 2015: Container Orchestration with the SDDC
PPTX
Webinar : Docker in Production
PDF
Introduction to Docker by Adrian Mouat
PDF
Docker Use Cases.pdf
PDF
A curtain-raiser to the container world Docker & Kubernetes
PDF
Introduction to Docker
PPTX
ma-formation-en-Docker-jlklk,nknkjn.pptx
Docker-for-Virtualization-Admin-eBook.pdf
Mastering Docker and Kubernetes The Guide for Modern Devops.pdf
SS Introduction to Docker
Advantage wvde containerization - june 2018
Docker 101 describing basic docker usage
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Introduction to docker
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Игорь Леонтьев "Azure Container Service: not only Docker"
Yet Another Session about Docker and Containers​
Containerization Report
2020-02-10 Java on Azure Solution Briefing
Docker Introduction SDP 12-2015
VMworld 2015: Container Orchestration with the SDDC
Webinar : Docker in Production
Introduction to Docker by Adrian Mouat
Docker Use Cases.pdf
A curtain-raiser to the container world Docker & Kubernetes
Introduction to Docker
ma-formation-en-Docker-jlklk,nknkjn.pptx
Ad

More from Amal Dev (20)

PDF
Azure DevOps Day - Trivandrum
PPTX
Deploy Resources to Azure using ARM templates
PDF
Azure DevOps Day - Kochi
PPTX
DevOps Process
PDF
Building a DevOps Pipeline using Docker Images & Containers
PPTX
Visual studio 2017 - Tips & Tricks
PPTX
Android Apps Using C# With Visual Studio And Xamarin
PPTX
Connected & Disconnected Apps with Azure Mobile Apps
PPTX
Visual studio 2017 - What's New
PPTX
Azure bootcamp web sites
PPTX
Windows 8 App Development
PPTX
Windows 8 reimagined
PPTX
Creating and deploying apps in azure
PPTX
Azure architecture
PPTX
Azure management portal
PPTX
Cloud computing & azure overview
PPTX
.NET Framework - Overview
PPTX
Mobiles
PPTX
Mobiles Mobiles Mobiles
PPTX
Windows phone 7
Azure DevOps Day - Trivandrum
Deploy Resources to Azure using ARM templates
Azure DevOps Day - Kochi
DevOps Process
Building a DevOps Pipeline using Docker Images & Containers
Visual studio 2017 - Tips & Tricks
Android Apps Using C# With Visual Studio And Xamarin
Connected & Disconnected Apps with Azure Mobile Apps
Visual studio 2017 - What's New
Azure bootcamp web sites
Windows 8 App Development
Windows 8 reimagined
Creating and deploying apps in azure
Azure architecture
Azure management portal
Cloud computing & azure overview
.NET Framework - Overview
Mobiles
Mobiles Mobiles Mobiles
Windows phone 7

Recently uploaded (20)

PDF
Empathic Computing: Creating Shared Understanding
PDF
Approach and Philosophy of On baking technology
PDF
cuic standard and advanced reporting.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Empathic Computing: Creating Shared Understanding
Approach and Philosophy of On baking technology
cuic standard and advanced reporting.pdf
Understanding_Digital_Forensics_Presentation.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Modernizing your data center with Dell and AMD
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Spectral efficient network and resource selection model in 5G networks
Unlocking AI with Model Context Protocol (MCP)
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication

Launch It With Docker

Editor's Notes

  • #5: One application installed on one physical server Cons
  • #6: Significant downtime needed for upgrading the application or maintenance Cost factor is on the higher side Lot of resources were wasted since most of them is in idle state for a considerable amount of time It’s very difficult to migrate or scale up/down and time consuming too Vendor lock-in
  • #7: Virtualization disrupted this Allowed to host multiple applications on a physical server Each application was running inside a VM, which has got its own OS. OS can be same as the host OS or can be a different one Pros
  • #8: Virtualization disrupted this Allowed to host multiple applications on a physical server Each application was running inside a VM, which has got its own OS. OS can be same as the host OS or can be a different one Pros
  • #9: Again guest OS means resources is wasted
  • #10: Is an OS level virtualization method Method for deploying and running application without launching an entire VM for each They run on single control host and share a single kernel Each container will have its own root file system, processes, memory and network ports
  • #11: Containers runs as an isolated process, but shares OS and where appropriate Bins/Libraries Significantly faster development, less overhead, easy to migrate, faster restarts
  • #12: Containers are lightweight Guest OS is shared by all containers Meaning less CPU, RAM and storage Can create more containers with the same resources
  • #13: It’s a platform for developing, shipping and running applications using container virtualization technology. Provides the ability to package and run application in a container
  • #15: Uses client-server architecture Client takes the input from the user and sends to the daemon which is responsible for building, running and distributing the containers Client and Daemon can run on same system, or can connect a client to remote daemon using a REST API Docker Host Client Is in the form of docker binary. Is the primary user interface. Accepts commands from the user and communicates with the daemon Registry Stores the docker images Two types of registry are there, public and private Docker Hub is a public registry
  • #16: If image is a class then container is the instance of the class https://github.com/wsargent/docker-cheat-sheet
  • #18: docker pull daemon will search for the image in the local cache If not found then it will search for it in the registry and downloads to the local cache Docker run Will create the container based on this image and executes the application