SlideShare ist ein Scribd-Unternehmen logo
1 von 24
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

Weitere ähnliche Inhalte

Was ist angesagt?

Cloud connected cross platform apps in visual studio
Cloud connected cross platform apps in visual studioCloud connected cross platform apps in visual studio
Cloud connected cross platform apps in visual studio
James Montemagno
 

Was ist angesagt? (20)

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

Ähnlich wie Launch It With Docker

Ähnlich wie Launch It With Docker (20)

Docker-for-Virtualization-Admin-eBook.pdf
Docker-for-Virtualization-Admin-eBook.pdfDocker-for-Virtualization-Admin-eBook.pdf
Docker-for-Virtualization-Admin-eBook.pdf
 
SS Introduction to Docker
SS Introduction to DockerSS Introduction to Docker
SS Introduction to Docker
 
Advantage wvde containerization - june 2018
Advantage wvde   containerization - june 2018Advantage wvde   containerization - june 2018
Advantage wvde containerization - june 2018
 
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
Distribute Development Environment by docker-compose - May 2016 Docker Meetup...
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
 
Игорь Леонтьев "Azure Container Service: not only Docker"
Игорь Леонтьев "Azure Container Service: not only Docker"Игорь Леонтьев "Azure Container Service: not only Docker"
Игорь Леонтьев "Azure Container Service: not only Docker"
 
Yet Another Session about Docker and Containers​
Yet Another Session about Docker and Containers​Yet Another Session about Docker and Containers​
Yet Another Session about Docker and Containers​
 
Containerization Report
Containerization ReportContainerization Report
Containerization Report
 
2020-02-10 Java on Azure Solution Briefing
2020-02-10 Java on Azure Solution Briefing2020-02-10 Java on Azure Solution Briefing
2020-02-10 Java on Azure Solution Briefing
 
Docker Introduction SDP 12-2015
Docker  Introduction  SDP 12-2015Docker  Introduction  SDP 12-2015
Docker Introduction SDP 12-2015
 
VMworld 2015: Container Orchestration with the SDDC
VMworld 2015: Container Orchestration with the SDDCVMworld 2015: Container Orchestration with the SDDC
VMworld 2015: Container Orchestration with the SDDC
 
Webinar : Docker in Production
Webinar : Docker in ProductionWebinar : Docker in Production
Webinar : Docker in Production
 
Introduction to Docker by Adrian Mouat
Introduction to Docker by Adrian MouatIntroduction to Docker by Adrian Mouat
Introduction to Docker by Adrian Mouat
 
Docker Use Cases.pdf
Docker Use Cases.pdfDocker Use Cases.pdf
Docker Use Cases.pdf
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & Kubernetes
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Container and Cloud Native Application: What is VMware doing in this space? -...
Container and Cloud Native Application: What is VMware doing in this space? -...Container and Cloud Native Application: What is VMware doing in this space? -...
Container and Cloud Native Application: What is VMware doing in this space? -...
 
Jelastic - DevOps for Java with Docker Containers - Madrid 2015
Jelastic - DevOps for Java with Docker Containers - Madrid 2015Jelastic - DevOps for Java with Docker Containers - Madrid 2015
Jelastic - DevOps for Java with Docker Containers - Madrid 2015
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 

Mehr von Amal Dev

Azure bootcamp web sites
Azure bootcamp web sitesAzure bootcamp web sites
Azure bootcamp web sites
Amal Dev
 
Windows 8 App Development
Windows 8 App DevelopmentWindows 8 App Development
Windows 8 App Development
Amal Dev
 
Windows 8 reimagined
Windows 8 reimaginedWindows 8 reimagined
Windows 8 reimagined
Amal Dev
 
Creating and deploying apps in azure
Creating and deploying apps in azureCreating and deploying apps in azure
Creating and deploying apps in azure
Amal Dev
 
Azure architecture
Azure architectureAzure architecture
Azure architecture
Amal Dev
 
Azure management portal
Azure management portalAzure management portal
Azure management portal
Amal Dev
 
Cloud computing & azure overview
Cloud computing & azure   overviewCloud computing & azure   overview
Cloud computing & azure overview
Amal Dev
 
.NET Framework - Overview
.NET Framework - Overview.NET Framework - Overview
.NET Framework - Overview
Amal Dev
 
Windows phone 7
Windows phone 7Windows phone 7
Windows phone 7
Amal Dev
 

Mehr von Amal Dev (20)

Azure DevOps Day - Trivandrum
Azure DevOps Day - TrivandrumAzure DevOps Day - Trivandrum
Azure DevOps Day - Trivandrum
 
Deploy Resources to Azure using ARM templates
Deploy Resources to Azure using ARM templatesDeploy Resources to Azure using ARM templates
Deploy Resources to Azure using ARM templates
 
Azure DevOps Day - Kochi
Azure DevOps Day - KochiAzure DevOps Day - Kochi
Azure DevOps Day - Kochi
 
DevOps Process
DevOps ProcessDevOps Process
DevOps Process
 
Building a DevOps Pipeline using Docker Images & Containers
Building a DevOps Pipeline using Docker Images & ContainersBuilding a DevOps Pipeline using Docker Images & Containers
Building a DevOps Pipeline using Docker Images & Containers
 
Visual studio 2017 - Tips & Tricks
Visual studio 2017 - Tips & TricksVisual studio 2017 - Tips & Tricks
Visual studio 2017 - Tips & Tricks
 
Android Apps Using C# With Visual Studio And Xamarin
Android Apps Using C# With Visual Studio And XamarinAndroid Apps Using C# With Visual Studio And Xamarin
Android Apps Using C# With Visual Studio And Xamarin
 
Connected & Disconnected Apps with Azure Mobile Apps
Connected & Disconnected Apps with Azure Mobile AppsConnected & Disconnected Apps with Azure Mobile Apps
Connected & Disconnected Apps with Azure Mobile Apps
 
Visual studio 2017 - What's New
Visual studio 2017   - What's NewVisual studio 2017   - What's New
Visual studio 2017 - What's New
 
Azure bootcamp web sites
Azure bootcamp web sitesAzure bootcamp web sites
Azure bootcamp web sites
 
Windows 8 App Development
Windows 8 App DevelopmentWindows 8 App Development
Windows 8 App Development
 
Windows 8 reimagined
Windows 8 reimaginedWindows 8 reimagined
Windows 8 reimagined
 
Creating and deploying apps in azure
Creating and deploying apps in azureCreating and deploying apps in azure
Creating and deploying apps in azure
 
Azure architecture
Azure architectureAzure architecture
Azure architecture
 
Azure management portal
Azure management portalAzure management portal
Azure management portal
 
Cloud computing & azure overview
Cloud computing & azure   overviewCloud computing & azure   overview
Cloud computing & azure overview
 
.NET Framework - Overview
.NET Framework - Overview.NET Framework - Overview
.NET Framework - Overview
 
Mobiles
MobilesMobiles
Mobiles
 
Mobiles Mobiles Mobiles
Mobiles Mobiles MobilesMobiles Mobiles Mobiles
Mobiles Mobiles Mobiles
 
Windows phone 7
Windows phone 7Windows phone 7
Windows phone 7
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Launch It With Docker

Hinweis der Redaktion

  1. One application installed on one physical server Cons
  2. 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
  3. 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
  4. 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
  5. Again guest OS means resources is wasted
  6. 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
  7. Containers runs as an isolated process, but shares OS and where appropriate Bins/Libraries Significantly faster development, less overhead, easy to migrate, faster restarts
  8. Containers are lightweight Guest OS is shared by all containers Meaning less CPU, RAM and storage Can create more containers with the same resources
  9. 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
  10. 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
  11. If image is a class then container is the instance of the class https://github.com/wsargent/docker-cheat-sheet
  12. 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