SlideShare a Scribd company logo
1 of 38
Download to read offline
Containerization using Docker
Vinod Doshi
-- Sr. Manager QA & DevOps, Synerzip Softech India Pvt Ltd.
-- Email : vinodkdoshi@gmail.com, vinod.doshi@synerzip.com
-- Twitter handle : https://twitter.com/vinodkdoshi
-- Linkedin profile : https://in.linkedin.com/in/vinoddoshi
Sumit Ramteke
-- Senior Full Stack Developer, Synerzip Softech India Pvt Ltd.
-- Email : sumitvramteke@gmail.com,sumit.ramteke@synerzip.com
-- Linkedin profile : https://www.linkedin.com/in/sumitramteke
Agenda
โ— VMโ€™s , IAAS , PAAS and DevOps
โ— Containers vs Virtual Machines
โ— Container architecture and Micro Services
โ— Docker features and Docker ecosystem
โ— CI using Docker
โ— Docker security considerations
โ— Container Orchestration
Virtualization
IAAS and PAAS
CODE REVIEWS
APPLICATION SERVERS CODE COVERAGE
DEPLOYMENT
MONITORING BUILD TOOLS
CLOUD
SOURCE CODE
WEB SERVERS
CONTINUOUS
INTEGRATION
LOGGING
RDBMS
NOSQL
ARTIFACTORY
CONFIGURATION
MANAGEMENT
CACHING
VIRTUALIZATION
ISSUE MANAGEMENT
CONTAINERIZATION
Containers vs VMโ€™s
Containers
โ— Run in user space
โ— Have an isolated user space
โ— OS architecture is shared
โ— Only parts created are bins/libs
โ— Lightweight compared to VMโ€™s
Docker
โ— Open source project
โ— Linux namespaces & control groups
โ— Union File System
โ— Lightweight and fast
โ— Usability
โ— Easy to Modularize apps
โ— Easy to scale apps
โ— Dockerhub as central repository
Micro services
Why Micro Services
โ— Service oriented architecture
โ— Loosely coupled, Tightly aligned
โ— High Developer productivity
โ— Regressions easy to find, correct
โ— Releases have zero overhead
โ— Rapid iteration using real consumer metrics
โ— Very less overhead in doing a new release
โ— Continuous Delivery
Containerization Technologies
โ— CoreOS, Rocket
โ— Docker
โ— Redhat containers
โ— AWS PAAS
โ— GCE PAAS
โ— AWS Lambda
Docker setup
โ— Ubuntu
โ—‹ Installation using apt-get
โ—‹ 1.12 aws images on beta signup
โ— Windows
โ—‹ Docker Toolbox
โ—‹ Docker 1.12
โ— Mac
โ—‹ Docker Toolbox
โ—‹ Docker 1.12
Dockerhub
โ— Dockerhub
โ— Public repository
โ— Private repository
โ— Official images
โ— User submitted images
โ— Private docker infrastructure
Docker images
โ— What is a docker image
โ— Creating a container from an image
โ— Listing images
โ— Removing images
โ— Removing images
โ— Searching docker images
Docker containers
โ— Docker hello world
โ— Launching container as daemon
โ— Listing containers
โ— Logging into container
โ— Docker start, stop
โ— Docker pause, unpause
โ— Docker inspect
โ— Deleting container
Docker resource allocation
โ— -m, --memory=""
โ— --memory-swap=""
โ— --cpuset-cpus=""
โ— -c, --cpu-shares
Docker layers
โ— List of read-only layers
โ— Layers have file system differences
โ— New Container adds thin, writable layer
Building images
โ— Modifying containers
โ— Creating an image
โ— Registering an image
Docker file
โ— Structure of Docker file
โ— Example Docker file
โ— Building image using a Docker file
โ— Docker file instructions
โ—‹ From, Maintainer, Copy
โ—‹ Add, Env, User, Workdir
โ—‹ Volume, Expose, Run
โ—‹ Cmd, Entrypoint, Onbuild
Docker Networking
โ— Container ip address
โ— Port mapping
โ— Binding to specific ip address
โ— Auto-generating host port
Linking containers
โ— --link option
โ— Exporting variables
โ— Enabling networking
Sharing data
โ— Containers are temporal
โ— Data volumes
โ— Sharing host data
โ— Data only containers
โ— Data volumes from other containers
Docker compose
โ— Multi container application
โ— Installing Docker compose
โ— Structure of compose file
โ— Define logical application
โ— Docker-compose.yml file
โ— Docker-compose command
โ— Launching multi-container app
Debugging containerized applications
โ— exec
โ— ps
โ— top
โ— stats
โ— logs
โ— Inspect
CI and deployment using Jenkins
โ— Using Jenkins for CI
โ— Docker plugins
โ— ssh build and deployment
Securing Docker containers
โ— VM vs Docker containers
โ— Resource Isolation
โ— Cgroups
โ— Non root user
โ— A trusted repository of software
โ— Filesystems need to be read-only
โ— Copy on write
โ— Security-Enhanced Linux
Orchestration
โ— Running containers on a cluster
โ— High availability
โ— Load balancing and Auto scaling
โ— Mesos, Marathon (Apache project)
โ— Docker Swarm (native Docker v 1.12 )
โ— GCE Kubernetes PAAS (Google project)
โ— AWS ECS PAAS
โ— AWS containers on Beanstalk PAAS
Amazon EC2 Container Service (ECS)
Manage and Deploy Docker containers at Scale
ECS: Awesome Features
โ— Docker Compatibility
โ— Managed Clusters
โ— Task Definitions
โ— Programmatic Control
โ— Scheduling
โ— Container Deployments
โ— Local Development
โ— Monitoring
โ— Logging
โ— Repository Support
ECS: Example
Docker Swarm: A Native Cluster
App Architecture
Swarm Cluster Architecture
Final Result
Mesos, Marathon
โ— Apache project
โ— https://mesosphere.github.io/marathon/
โ— http://mesos.apache.org
โ— Container orchestration platform
Mesos Master, Mesos Slave, Zookeeper
Mesos, Marathon cluster Demo
โ— Setup on a VM
โ— Mesos Master dashboard
โ— Marathon dashboard
โ— Launching a hello world job
โ— HA, Auto scaling
Thank You
Vinod Doshi
โ— Email:vinodkdoshi@gmail.com
โ— Twitter:@vinodkdoshi
โ— Linkedin:https://in.linkedin.
com/in/vinoddoshi
Sumit Ramteke
โ— Email:sumitvramteke@gmail.com
โ— Linkedin:https://www.linkedin.
com/in/sumitramteke

More Related Content

What's hot

Introduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUGIntroduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUGAjeet Singh Raina
ย 
Docker on Windows
Docker on WindowsDocker on Windows
Docker on WindowsStefan Scherer
ย 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker, Inc.
ย 
Docker and containers : Disrupting the virtual machine(VM)
Docker and containers : Disrupting the virtual machine(VM)Docker and containers : Disrupting the virtual machine(VM)
Docker and containers : Disrupting the virtual machine(VM)Rama Krishna B
ย 
Infinit: Modern Storage Platform for Container Environments
Infinit: Modern Storage Platform for Container EnvironmentsInfinit: Modern Storage Platform for Container Environments
Infinit: Modern Storage Platform for Container EnvironmentsDocker, Inc.
ย 
Intro to docker
Intro to dockerIntro to docker
Intro to dockerTowfiqul Islam
ย 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with dockerLalatendu Mohanty
ย 
Docker Global Hack Day #3
Docker Global Hack Day #3 Docker Global Hack Day #3
Docker Global Hack Day #3 Docker, Inc.
ย 
Docker Presentation
Docker PresentationDocker Presentation
Docker PresentationAdhoura Academy
ย 
Docker basics
Docker basicsDocker basics
Docker basicsAmanSoni129
ย 
Orchestrating Docker containers at scale
Orchestrating Docker containers at scaleOrchestrating Docker containers at scale
Orchestrating Docker containers at scaleMaciej Lasyk
ย 
Introduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeIntroduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeDr. Ketan Parmar
ย 
How we dockerized a startup? #meetup #docker
How we dockerized a startup? #meetup #docker How we dockerized a startup? #meetup #docker
How we dockerized a startup? #meetup #docker Jonathan Martin
ย 
Docker container a-brief_introduction_2016-01-30
Docker container a-brief_introduction_2016-01-30Docker container a-brief_introduction_2016-01-30
Docker container a-brief_introduction_2016-01-30Khelender Sasan
ย 
An Introduction to Kubernetes
An Introduction to KubernetesAn Introduction to Kubernetes
An Introduction to KubernetesImesh Gunaratne
ย 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
ย 
Docker in real life
Docker in real lifeDocker in real life
Docker in real lifeNguyen Van Vuong
ย 
All Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and more
All Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and moreAll Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and more
All Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and moreAll Things Open
ย 
Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015Mustafa AKIN
ย 

What's hot (20)

Introduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUGIntroduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUG
ย 
Docker on Windows
Docker on WindowsDocker on Windows
Docker on Windows
ย 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
ย 
Docker and containers : Disrupting the virtual machine(VM)
Docker and containers : Disrupting the virtual machine(VM)Docker and containers : Disrupting the virtual machine(VM)
Docker and containers : Disrupting the virtual machine(VM)
ย 
Infinit: Modern Storage Platform for Container Environments
Infinit: Modern Storage Platform for Container EnvironmentsInfinit: Modern Storage Platform for Container Environments
Infinit: Modern Storage Platform for Container Environments
ย 
Intro to docker
Intro to dockerIntro to docker
Intro to docker
ย 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with docker
ย 
Containerization
ContainerizationContainerization
Containerization
ย 
Docker Global Hack Day #3
Docker Global Hack Day #3 Docker Global Hack Day #3
Docker Global Hack Day #3
ย 
Docker Presentation
Docker PresentationDocker Presentation
Docker Presentation
ย 
Docker basics
Docker basicsDocker basics
Docker basics
ย 
Orchestrating Docker containers at scale
Orchestrating Docker containers at scaleOrchestrating Docker containers at scale
Orchestrating Docker containers at scale
ย 
Introduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeIntroduction of Docker and Docker Compose
Introduction of Docker and Docker Compose
ย 
How we dockerized a startup? #meetup #docker
How we dockerized a startup? #meetup #docker How we dockerized a startup? #meetup #docker
How we dockerized a startup? #meetup #docker
ย 
Docker container a-brief_introduction_2016-01-30
Docker container a-brief_introduction_2016-01-30Docker container a-brief_introduction_2016-01-30
Docker container a-brief_introduction_2016-01-30
ย 
An Introduction to Kubernetes
An Introduction to KubernetesAn Introduction to Kubernetes
An Introduction to Kubernetes
ย 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
ย 
Docker in real life
Docker in real lifeDocker in real life
Docker in real life
ย 
All Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and more
All Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and moreAll Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and more
All Things Containers - Docker, Kubernetes, Helm, Istio, GitOps and more
ย 
Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015Docker - Ankara JUG, Nisan 2015
Docker - Ankara JUG, Nisan 2015
ย 

Viewers also liked

Essence Of Containerizati on 230508
Essence Of Containerizati on 230508 Essence Of Containerizati on 230508
Essence Of Containerizati on 230508 jansowri
ย 
ShapeBlue South Africa Launch-Iaas business use cases
ShapeBlue South Africa Launch-Iaas business use cases ShapeBlue South Africa Launch-Iaas business use cases
ShapeBlue South Africa Launch-Iaas business use cases ShapeBlue
ย 
A Primer to Containerization & Microservices
A Primer to Containerization & MicroservicesA Primer to Containerization & Microservices
A Primer to Containerization & MicroservicesShiju Varghese
ย 
Hide your development environment and application in a container
Hide your development environment and application in a containerHide your development environment and application in a container
Hide your development environment and application in a containerJohan Janssen
ย 
Cloud Computing for Beginners
Cloud Computing for Beginners Cloud Computing for Beginners
Cloud Computing for Beginners Suman Singh
ย 
Docker containerization cookbook
Docker containerization cookbookDocker containerization cookbook
Docker containerization cookbookPascal Louis
ย 
OpenShift & SELinux with Dan Walsh @rhatdan
OpenShift & SELinux with Dan Walsh @rhatdanOpenShift & SELinux with Dan Walsh @rhatdan
OpenShift & SELinux with Dan Walsh @rhatdanOpenShift Origin
ย 
RightScale Webinar: 451 Research Webinar - Cloud Dos and Don'ts
RightScale Webinar: 451 Research Webinar - Cloud Dos and Don'tsRightScale Webinar: 451 Research Webinar - Cloud Dos and Don'ts
RightScale Webinar: 451 Research Webinar - Cloud Dos and Don'tsRightScale
ย 
Intro to containerization
Intro to containerizationIntro to containerization
Intro to containerizationBalint Pato
ย 
A Dive Into Containers and Docker
A Dive Into Containers and DockerA Dive Into Containers and Docker
A Dive Into Containers and DockerMatthew Farina
ย 
Letโ€™s start Continuous Integration with jenkins
Letโ€™s start Continuous Integration with jenkinsLetโ€™s start Continuous Integration with jenkins
Letโ€™s start Continuous Integration with jenkinsTomohide Kakeya
ย 
Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...
Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...
Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...Lightbend
ย 
Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...Jรฉrรดme Petazzoni
ย 
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...Dmitry Lazarenko
ย 
Serverless - When to FaaS?
Serverless - When to FaaS?Serverless - When to FaaS?
Serverless - When to FaaS?Benny Bauer
ย 

Viewers also liked (15)

Essence Of Containerizati on 230508
Essence Of Containerizati on 230508 Essence Of Containerizati on 230508
Essence Of Containerizati on 230508
ย 
ShapeBlue South Africa Launch-Iaas business use cases
ShapeBlue South Africa Launch-Iaas business use cases ShapeBlue South Africa Launch-Iaas business use cases
ShapeBlue South Africa Launch-Iaas business use cases
ย 
A Primer to Containerization & Microservices
A Primer to Containerization & MicroservicesA Primer to Containerization & Microservices
A Primer to Containerization & Microservices
ย 
Hide your development environment and application in a container
Hide your development environment and application in a containerHide your development environment and application in a container
Hide your development environment and application in a container
ย 
Cloud Computing for Beginners
Cloud Computing for Beginners Cloud Computing for Beginners
Cloud Computing for Beginners
ย 
Docker containerization cookbook
Docker containerization cookbookDocker containerization cookbook
Docker containerization cookbook
ย 
OpenShift & SELinux with Dan Walsh @rhatdan
OpenShift & SELinux with Dan Walsh @rhatdanOpenShift & SELinux with Dan Walsh @rhatdan
OpenShift & SELinux with Dan Walsh @rhatdan
ย 
RightScale Webinar: 451 Research Webinar - Cloud Dos and Don'ts
RightScale Webinar: 451 Research Webinar - Cloud Dos and Don'tsRightScale Webinar: 451 Research Webinar - Cloud Dos and Don'ts
RightScale Webinar: 451 Research Webinar - Cloud Dos and Don'ts
ย 
Intro to containerization
Intro to containerizationIntro to containerization
Intro to containerization
ย 
A Dive Into Containers and Docker
A Dive Into Containers and DockerA Dive Into Containers and Docker
A Dive Into Containers and Docker
ย 
Letโ€™s start Continuous Integration with jenkins
Letโ€™s start Continuous Integration with jenkinsLetโ€™s start Continuous Integration with jenkins
Letโ€™s start Continuous Integration with jenkins
ย 
Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...
Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...
Enterprise Development Trends 2016 - Cloud, Container and Microservices Insig...
ย 
Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...Containerization is more than the new Virtualization: enabling separation of ...
Containerization is more than the new Virtualization: enabling separation of ...
ย 
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
Private PaaS & Container-as-a-Service for ISVs and Enterprise - Use Cases and...
ย 
Serverless - When to FaaS?
Serverless - When to FaaS?Serverless - When to FaaS?
Serverless - When to FaaS?
ย 

Similar to Containerization using docker

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerPubudu Jayawardana
ย 
Boosting Sitecore Development With Sitecore Docker
Boosting Sitecore Development With Sitecore DockerBoosting Sitecore Development With Sitecore Docker
Boosting Sitecore Development With Sitecore DockerPeter Nazarov
ย 
Getting started with docker (2017)
Getting started with docker (2017)Getting started with docker (2017)
Getting started with docker (2017)JEMLI Fathi
ย 
Docker Enterprise Workshop - Technical
Docker Enterprise Workshop - TechnicalDocker Enterprise Workshop - Technical
Docker Enterprise Workshop - TechnicalPatrick Chanezon
ย 
Docker primer and tips
Docker primer and tipsDocker primer and tips
Docker primer and tipsSamuel Chow
ย 
Docker up and Running For Web Developers
Docker up and Running For Web DevelopersDocker up and Running For Web Developers
Docker up and Running For Web DevelopersBADR
ย 
Docker Up and Running for Web Developers
Docker Up and Running for Web DevelopersDocker Up and Running for Web Developers
Docker Up and Running for Web DevelopersAmr Fawzy
ย 
Run automated tests in Docker
Run automated tests in DockerRun automated tests in Docker
Run automated tests in DockerOleksandr Metelytsia
ย 
Webinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDBWebinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDBMongoDB
ย 
DCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDocker, Inc.
ย 
Docker + Microservices in Production
Docker + Microservices in ProductionDocker + Microservices in Production
Docker + Microservices in ProductionPatrick Mizer
ย 
Introduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataIntroduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataInfluxData
ย 
Docker on Power Systems
Docker on Power SystemsDocker on Power Systems
Docker on Power SystemsCesar Maciel
ย 
Azure ai on premises with docker
Azure ai on premises with  dockerAzure ai on premises with  docker
Azure ai on premises with dockerVishwas N
ย 
Accelerate your development with Docker
Accelerate your development with DockerAccelerate your development with Docker
Accelerate your development with DockerAndrey Hristov
ย 
Accelerate your software development with Docker
Accelerate your software development with DockerAccelerate your software development with Docker
Accelerate your software development with DockerAndrey Hristov
ย 
Powercoders ยท Docker ยท Fall 2021.pptx
Powercoders ยท Docker ยท Fall 2021.pptxPowercoders ยท Docker ยท Fall 2021.pptx
Powercoders ยท Docker ยท Fall 2021.pptxIgnacioTamayo2
ย 
Introduction to Docker for NodeJs developers at Node DC 2/26/2014
Introduction to Docker for NodeJs developers at Node DC 2/26/2014Introduction to Docker for NodeJs developers at Node DC 2/26/2014
Introduction to Docker for NodeJs developers at Node DC 2/26/2014lenworthhenry
ย 

Similar to Containerization using docker (20)

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
ย 
Boosting Sitecore Development With Sitecore Docker
Boosting Sitecore Development With Sitecore DockerBoosting Sitecore Development With Sitecore Docker
Boosting Sitecore Development With Sitecore Docker
ย 
Getting started with docker (2017)
Getting started with docker (2017)Getting started with docker (2017)
Getting started with docker (2017)
ย 
Docker Enterprise Workshop - Technical
Docker Enterprise Workshop - TechnicalDocker Enterprise Workshop - Technical
Docker Enterprise Workshop - Technical
ย 
Docker primer and tips
Docker primer and tipsDocker primer and tips
Docker primer and tips
ย 
Docker up and Running For Web Developers
Docker up and Running For Web DevelopersDocker up and Running For Web Developers
Docker up and Running For Web Developers
ย 
Docker Up and Running for Web Developers
Docker Up and Running for Web DevelopersDocker Up and Running for Web Developers
Docker Up and Running for Web Developers
ย 
Run automated tests in Docker
Run automated tests in DockerRun automated tests in Docker
Run automated tests in Docker
ย 
Webinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDBWebinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDB
ย 
DCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and Architecture
ย 
Docker + Microservices in Production
Docker + Microservices in ProductionDocker + Microservices in Production
Docker + Microservices in Production
ย 
Introduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataIntroduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxData
ย 
Docker on Power Systems
Docker on Power SystemsDocker on Power Systems
Docker on Power Systems
ย 
Azure ai on premises with docker
Azure ai on premises with  dockerAzure ai on premises with  docker
Azure ai on premises with docker
ย 
Accelerate your development with Docker
Accelerate your development with DockerAccelerate your development with Docker
Accelerate your development with Docker
ย 
Accelerate your software development with Docker
Accelerate your software development with DockerAccelerate your software development with Docker
Accelerate your software development with Docker
ย 
JOSA TechTalks - Docker in Production
JOSA TechTalks - Docker in ProductionJOSA TechTalks - Docker in Production
JOSA TechTalks - Docker in Production
ย 
Docker+java
Docker+javaDocker+java
Docker+java
ย 
Powercoders ยท Docker ยท Fall 2021.pptx
Powercoders ยท Docker ยท Fall 2021.pptxPowercoders ยท Docker ยท Fall 2021.pptx
Powercoders ยท Docker ยท Fall 2021.pptx
ย 
Introduction to Docker for NodeJs developers at Node DC 2/26/2014
Introduction to Docker for NodeJs developers at Node DC 2/26/2014Introduction to Docker for NodeJs developers at Node DC 2/26/2014
Introduction to Docker for NodeJs developers at Node DC 2/26/2014
ย 

Recently uploaded

CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfWilly Marroquin (WillyDevNET)
ย 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
ย 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...OnePlan Solutions
ย 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
ย 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
ย 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
ย 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
ย 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธanilsa9823
ย 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
ย 
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...Steffen Staab
ย 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
ย 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
ย 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
ย 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
ย 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
ย 
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธDelhi Call girls
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
ย 

Recently uploaded (20)

CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
ย 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
ย 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
ย 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
ย 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
ย 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
ย 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
ย 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
ย 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
ย 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
ย 
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spacesย - and Epistemic Querying of RDF-...
ย 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
ย 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
ย 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
ย 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
ย 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
ย 
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
ย 
Vip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS LiveVip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS Live
ย 

Containerization using docker

  • 1. Containerization using Docker Vinod Doshi -- Sr. Manager QA & DevOps, Synerzip Softech India Pvt Ltd. -- Email : vinodkdoshi@gmail.com, vinod.doshi@synerzip.com -- Twitter handle : https://twitter.com/vinodkdoshi -- Linkedin profile : https://in.linkedin.com/in/vinoddoshi Sumit Ramteke -- Senior Full Stack Developer, Synerzip Softech India Pvt Ltd. -- Email : sumitvramteke@gmail.com,sumit.ramteke@synerzip.com -- Linkedin profile : https://www.linkedin.com/in/sumitramteke
  • 2. Agenda โ— VMโ€™s , IAAS , PAAS and DevOps โ— Containers vs Virtual Machines โ— Container architecture and Micro Services โ— Docker features and Docker ecosystem โ— CI using Docker โ— Docker security considerations โ— Container Orchestration
  • 5. CODE REVIEWS APPLICATION SERVERS CODE COVERAGE DEPLOYMENT MONITORING BUILD TOOLS CLOUD SOURCE CODE WEB SERVERS CONTINUOUS INTEGRATION LOGGING RDBMS NOSQL ARTIFACTORY CONFIGURATION MANAGEMENT CACHING VIRTUALIZATION ISSUE MANAGEMENT CONTAINERIZATION
  • 7. Containers โ— Run in user space โ— Have an isolated user space โ— OS architecture is shared โ— Only parts created are bins/libs โ— Lightweight compared to VMโ€™s
  • 8. Docker โ— Open source project โ— Linux namespaces & control groups โ— Union File System โ— Lightweight and fast โ— Usability โ— Easy to Modularize apps โ— Easy to scale apps โ— Dockerhub as central repository
  • 10. Why Micro Services โ— Service oriented architecture โ— Loosely coupled, Tightly aligned โ— High Developer productivity โ— Regressions easy to find, correct โ— Releases have zero overhead โ— Rapid iteration using real consumer metrics โ— Very less overhead in doing a new release โ— Continuous Delivery
  • 11. Containerization Technologies โ— CoreOS, Rocket โ— Docker โ— Redhat containers โ— AWS PAAS โ— GCE PAAS โ— AWS Lambda
  • 12. Docker setup โ— Ubuntu โ—‹ Installation using apt-get โ—‹ 1.12 aws images on beta signup โ— Windows โ—‹ Docker Toolbox โ—‹ Docker 1.12 โ— Mac โ—‹ Docker Toolbox โ—‹ Docker 1.12
  • 13. Dockerhub โ— Dockerhub โ— Public repository โ— Private repository โ— Official images โ— User submitted images โ— Private docker infrastructure
  • 14. Docker images โ— What is a docker image โ— Creating a container from an image โ— Listing images โ— Removing images โ— Removing images โ— Searching docker images
  • 15. Docker containers โ— Docker hello world โ— Launching container as daemon โ— Listing containers โ— Logging into container โ— Docker start, stop โ— Docker pause, unpause โ— Docker inspect โ— Deleting container
  • 16. Docker resource allocation โ— -m, --memory="" โ— --memory-swap="" โ— --cpuset-cpus="" โ— -c, --cpu-shares
  • 17. Docker layers โ— List of read-only layers โ— Layers have file system differences โ— New Container adds thin, writable layer
  • 18. Building images โ— Modifying containers โ— Creating an image โ— Registering an image
  • 19. Docker file โ— Structure of Docker file โ— Example Docker file โ— Building image using a Docker file โ— Docker file instructions โ—‹ From, Maintainer, Copy โ—‹ Add, Env, User, Workdir โ—‹ Volume, Expose, Run โ—‹ Cmd, Entrypoint, Onbuild
  • 20. Docker Networking โ— Container ip address โ— Port mapping โ— Binding to specific ip address โ— Auto-generating host port
  • 21. Linking containers โ— --link option โ— Exporting variables โ— Enabling networking
  • 22. Sharing data โ— Containers are temporal โ— Data volumes โ— Sharing host data โ— Data only containers โ— Data volumes from other containers
  • 23. Docker compose โ— Multi container application โ— Installing Docker compose โ— Structure of compose file โ— Define logical application โ— Docker-compose.yml file โ— Docker-compose command โ— Launching multi-container app
  • 24. Debugging containerized applications โ— exec โ— ps โ— top โ— stats โ— logs โ— Inspect
  • 25. CI and deployment using Jenkins โ— Using Jenkins for CI โ— Docker plugins โ— ssh build and deployment
  • 26. Securing Docker containers โ— VM vs Docker containers โ— Resource Isolation โ— Cgroups โ— Non root user โ— A trusted repository of software โ— Filesystems need to be read-only โ— Copy on write โ— Security-Enhanced Linux
  • 27. Orchestration โ— Running containers on a cluster โ— High availability โ— Load balancing and Auto scaling โ— Mesos, Marathon (Apache project) โ— Docker Swarm (native Docker v 1.12 ) โ— GCE Kubernetes PAAS (Google project) โ— AWS ECS PAAS โ— AWS containers on Beanstalk PAAS
  • 28. Amazon EC2 Container Service (ECS) Manage and Deploy Docker containers at Scale
  • 29. ECS: Awesome Features โ— Docker Compatibility โ— Managed Clusters โ— Task Definitions โ— Programmatic Control โ— Scheduling โ— Container Deployments โ— Local Development โ— Monitoring โ— Logging โ— Repository Support
  • 31. Docker Swarm: A Native Cluster
  • 35. Mesos, Marathon โ— Apache project โ— https://mesosphere.github.io/marathon/ โ— http://mesos.apache.org โ— Container orchestration platform
  • 36. Mesos Master, Mesos Slave, Zookeeper
  • 37. Mesos, Marathon cluster Demo โ— Setup on a VM โ— Mesos Master dashboard โ— Marathon dashboard โ— Launching a hello world job โ— HA, Auto scaling
  • 38. Thank You Vinod Doshi โ— Email:vinodkdoshi@gmail.com โ— Twitter:@vinodkdoshi โ— Linkedin:https://in.linkedin. com/in/vinoddoshi Sumit Ramteke โ— Email:sumitvramteke@gmail.com โ— Linkedin:https://www.linkedin. com/in/sumitramteke