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

What's hot (20)

PDF
Lessons learned while going serverless in production
Mohamed Labouardy
 
PPTX
Telepresence - Seamless Development Environments on Kubernetes
Adnan Abdulhussein
 
PPTX
What's new in containers
Microsoft
 
PPTX
Boston Cloud Meetup - IBM Containers
Ryan Baxter
 
PDF
CI/CD for Serverless Applications on AWS
Mohamed Labouardy
 
PPTX
How many iot technologies do you need to turn on a lightbulb (Kurt Claeys)
Visug
 
PDF
Docker Announces Open Source Compose for AWS ECS & Microsoft ACI
9 series
 
PDF
Microservices application deployment with docker
Swapnil Dahiphale
 
PDF
Running containerized application in AWS ECS
DevOps Indonesia
 
PPTX
Lessons from migrating container applications to azure
Christoph Schittko
 
PPTX
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Ilyas F ☁☁☁
 
PDF
Harnessing the power of aws using dot net core
Dror Helper
 
PPTX
Ionic framework
Software Infrastructure
 
PPT
Boston Cloud Foundry Meetup 5-22-14
Ryan Baxter
 
PPTX
Azure Service Fabric: The road ahead for microservices
Microsoft Tech Community
 
PPTX
Service Fabric Overview (Yves Goeleven)
Visug
 
PPTX
Build 2016 - B829 - Project Centennial: Bringing Existing Desktop Application...
Windows Developer
 
PPTX
Modern Web Tour
Sam Basu
 
PPT
Mcf presentation by Hai NGUYEN-Portal team
Thuy_Dang
 
PPT
Cloud connected cross platform apps in visual studio
James Montemagno
 
Lessons learned while going serverless in production
Mohamed Labouardy
 
Telepresence - Seamless Development Environments on Kubernetes
Adnan Abdulhussein
 
What's new in containers
Microsoft
 
Boston Cloud Meetup - IBM Containers
Ryan Baxter
 
CI/CD for Serverless Applications on AWS
Mohamed Labouardy
 
How many iot technologies do you need to turn on a lightbulb (Kurt Claeys)
Visug
 
Docker Announces Open Source Compose for AWS ECS & Microsoft ACI
9 series
 
Microservices application deployment with docker
Swapnil Dahiphale
 
Running containerized application in AWS ECS
DevOps Indonesia
 
Lessons from migrating container applications to azure
Christoph Schittko
 
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Ilyas F ☁☁☁
 
Harnessing the power of aws using dot net core
Dror Helper
 
Ionic framework
Software Infrastructure
 
Boston Cloud Foundry Meetup 5-22-14
Ryan Baxter
 
Azure Service Fabric: The road ahead for microservices
Microsoft Tech Community
 
Service Fabric Overview (Yves Goeleven)
Visug
 
Build 2016 - B829 - Project Centennial: Bringing Existing Desktop Application...
Windows Developer
 
Modern Web Tour
Sam Basu
 
Mcf presentation by Hai NGUYEN-Portal team
Thuy_Dang
 
Cloud connected cross platform apps in visual studio
James Montemagno
 

Similar to Launch It With Docker (20)

PDF
Unit No. III Docker ppt part 2.pdf Cloud Microservices & Application
Priyanka855141
 
PPTX
What is Docker
Pavel Klimiankou
 
PPTX
Docker - HieuHoang
Hieu Hoang
 
PPT
Docker_tech_guild ppt.ppt technical guild
AkshayaM79
 
PPTX
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
Ido Flatow
 
PDF
Docker navjot kaur
Navjot Kaur
 
PDF
Demystifying Docker
Cloud Native Bangalore
 
PPTX
Demystifying Docker101
Ajeet Singh Raina
 
PDF
Dockerizing development workflow
Orest Ivasiv
 
PPTX
Docker
Vu Duc Du
 
PPTX
Docker 101 - Nov 2016
Docker, Inc.
 
PPTX
Unit No. III Docker ppt part 2.pptx Cloud Microservices & Application
Priyanka855141
 
PPTX
Docker lxc win
rahulmore01
 
PDF
Introduction to Docker - IndiaOpsUG
Ajeet Singh Raina
 
PDF
Docker for developers
Anvay Patil
 
PDF
Application Deployment on Openstack
Docker, Inc.
 
PDF
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
dotCloud
 
PPTX
Docker 101 describing basic docker usage
ZiyanMaraikar1
 
PPTX
Module-4_Docker_Training Course outline_
AmanTiwari297384
 
PDF
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
Unit No. III Docker ppt part 2.pdf Cloud Microservices & Application
Priyanka855141
 
What is Docker
Pavel Klimiankou
 
Docker - HieuHoang
Hieu Hoang
 
Docker_tech_guild ppt.ppt technical guild
AkshayaM79
 
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
Ido Flatow
 
Docker navjot kaur
Navjot Kaur
 
Demystifying Docker
Cloud Native Bangalore
 
Demystifying Docker101
Ajeet Singh Raina
 
Dockerizing development workflow
Orest Ivasiv
 
Docker
Vu Duc Du
 
Docker 101 - Nov 2016
Docker, Inc.
 
Unit No. III Docker ppt part 2.pptx Cloud Microservices & Application
Priyanka855141
 
Docker lxc win
rahulmore01
 
Introduction to Docker - IndiaOpsUG
Ajeet Singh Raina
 
Docker for developers
Anvay Patil
 
Application Deployment on Openstack
Docker, Inc.
 
Docker Presentation at the OpenStack Austin Meetup | 2013-09-12
dotCloud
 
Docker 101 describing basic docker usage
ZiyanMaraikar1
 
Module-4_Docker_Training Course outline_
AmanTiwari297384
 
Introduction to container based virtualization with docker
Bangladesh Network Operators Group
 
Ad

More from Amal Dev (20)

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

Recently uploaded (20)

PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
July Patch Tuesday
Ivanti
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 

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