SlideShare uma empresa Scribd logo
1 de 23
LINUX CONTAINERS AND
DOCKER OPEN PLATFORM
Rahul More
Docker is an open platform for developers and
sysadmins to build, ship, and run distributed
applications
?
‱ “an open source platform to pack, ship and
run any application as a lightweight linux
container.”
‱ “chroot on steroids.”
TRADITIONS
VM vs Docker
WHY TO USE DOCKER-
MINGLE
‱ Developers
‱ QA
‱ Nebulous SYS Admins-
ish
DEVELOPER
S
“works on my machine”
QA
“does not work on my test
environment”
SYS ADMIN
“I want my weekend”
WHY USE DOCKER?
‱ Portable deployments.
‱ Fast Application delivery.
‱ Scale and deployed with ease.
‱ Higher workloads - greater density.
Dev App Container
Tester
Container
Sys Admin Automation
ProductionEnvironments
TRADITIONS
VM vs Docker
DOCKER
ARCHITECTURE
DOCKER
‱ Client Server Architecture.
‱ Socket or REST APIs
‱ Docker Daemon
‱ All container operations
‱ Docker Client
‱ Main interface between user
and docker daemon.
‱ Docker Internal Components.
DOCKER COMPONENTS
‱ Docker Internal Components
‱ Docker Image
‱ Similar to OS disk images.
‱ Used as base , layers build upon the base image[Layer
0].
‱ Portable.
‱ Docker Registry
‱ Repository of Docker Images.
‱ Public or Private.
‱ Docker Containers
‱ Running Images
‱ Directory + Execution Environment.
‱ Isolated.
‱ User Space + Networking + Security Components.
Docker
Image
Kernal
Docker
Engine
Docker
Registr
y
Docker
Container
WORKING OF DOCKER
‱ Docker Image.
‱ Each image is
association of images.
‱ Layered approach for
abstraction.
‱ Unified file system.
Each layer as a
directory.
‱ Dockerfile.
Base Image
Layered Image-2[add
apache]
Running Container [php
application
Layered Image-2[add php]
Layered Image-3[add mysql]
Reference Image
WORKING OF DOCKER
‱ Docker Registry.
‱ All images are stored
in a client.
‱ Private or public.
‱ Images are pulled and
pushed in a registry.
WORKING OF DOCKER
‱ Docker Container.
‱ Run time environment.
‱ Command from REST
API/Docker Binary to
run the container.
‱ sudo docker run -i -t
ubuntu /bin/ bash
Docker client
Docker Daemon
Container
Pulled Image
REPOSITORY
Creates Containers from Image
Binary API Request
DOCKER
‱ sudo docker run -i -t ubuntu /bin/ bash
‱ Docker client will be launched with
“docker run” command.
‱ It tells the daemon, from which
image the container should be
created. In our example, it is a
Ubuntu image.
‱ “-i” tells the Docker daemon to run
the container in interactive mode.
‱ “-t” represents tty mode for
interactive session.
‱ “/ bin/ bash” tells the Docker
daemon to start the bash shell when
the container is launched.
Docker client
Docker Daemon
Container
Pulled Image
REPOSITORY
Creates Containers from Image
Binary API Request
DOCKER
‱ Successful Execution of run.
‱ Checks for the image.
‱ Pulls the image to create a container.
‱ Creates a read/write filesystem over
the image.
‱ Creates a network interface for the
container to interact with host
machine.
‱ Checks for IP . Allocates IP.
‱ Executes the command specified.
‱ Logs.
Docker client
Docker Daemon
Container
Pulled Image
REPOSITORY
Creates Containers from Image
Binary API Request
IMMUTABLE
INFRASTRUCURE
‱ Immutable infrastructure comprises of
immutable components and for every
deployment the components will be replaced
with the updated component rather than
being updated.
DEMO
‱ A static web application
running on apache.
‱ A mysql Image.
‱ Wordpress application with
MYSQL db.
‱ Hosting multiple websites
on docker host.
‱ Building and testing
containers using Jenkins CI.

Mais conteĂșdo relacionado

Mais procurados

Containerization and Docker
Containerization and DockerContainerization and Docker
Containerization and DockerMegha Bansal
 
Intro To Docker
Intro To DockerIntro To Docker
Intro To DockerJessica Lucci
 
presentation on Docker
presentation on Dockerpresentation on Docker
presentation on DockerVirendra Ruhela
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to dockerAmandeep Singh
 
Getting started with Docker
Getting started with DockerGetting started with Docker
Getting started with DockerRavindu Fernando
 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker, Inc.
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginnersJuneyoung Oh
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerLuong Vo
 
Docker architecture-04-1
Docker architecture-04-1Docker architecture-04-1
Docker architecture-04-1Mohammadreza Amini
 
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...Simplilearn
 
Learning Docker from Square One
Learning Docker from Square OneLearning Docker from Square One
Learning Docker from Square OneDocker, Inc.
 
Docker Fundamentals
Docker FundamentalsDocker Fundamentals
Docker FundamentalsMien Dinh
 
Dockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at RackspaceDockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at RackspacedotCloud
 
Docker for .NET Developers
Docker for .NET DevelopersDocker for .NET Developers
Docker for .NET DevelopersTaswar Bhatti
 
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire dotCloud
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionMANAOUIL Karim
 
Docker 101 Workshop slides (JavaOne 2017)
Docker 101 Workshop slides (JavaOne 2017)Docker 101 Workshop slides (JavaOne 2017)
Docker 101 Workshop slides (JavaOne 2017)Eric Smalling
 

Mais procurados (20)

Containerization and Docker
Containerization and DockerContainerization and Docker
Containerization and Docker
 
Intro To Docker
Intro To DockerIntro To Docker
Intro To Docker
 
presentation on Docker
presentation on Dockerpresentation on Docker
presentation on Docker
 
Docker
DockerDocker
Docker
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Getting started with Docker
Getting started with DockerGetting started with Docker
Getting started with Docker
 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginners
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Docker architecture-04-1
Docker architecture-04-1Docker architecture-04-1
Docker architecture-04-1
 
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
Docker Compose | Docker Compose Tutorial | Docker Tutorial For Beginners | De...
 
What is Docker
What is DockerWhat is Docker
What is Docker
 
Learning Docker from Square One
Learning Docker from Square OneLearning Docker from Square One
Learning Docker from Square One
 
Docker Fundamentals
Docker FundamentalsDocker Fundamentals
Docker Fundamentals
 
Dockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at RackspaceDockerfile basics | docker workshop #1 at Rackspace
Dockerfile basics | docker workshop #1 at Rackspace
 
Docker for .NET Developers
Docker for .NET DevelopersDocker for .NET Developers
Docker for .NET Developers
 
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
Introduction to dockerfile, SF Peninsula Software Development Meetup @Guidewire
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker 101 Workshop slides (JavaOne 2017)
Docker 101 Workshop slides (JavaOne 2017)Docker 101 Workshop slides (JavaOne 2017)
Docker 101 Workshop slides (JavaOne 2017)
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 

Semelhante a Docker lxc win

Virtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesVirtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesabhishek chawla
 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the Worlddamovsky
 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and MicroserviceSamuel Chow
 
Up and running with docker
Up and running with dockerUp and running with docker
Up and running with dockerMichelle Liu
 
Cohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraCohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraDaniel Palstra
 
Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with dockerBangladesh Network Operators Group
 
Docker for the new Era: Introducing Docker,its components and tools
Docker for the new Era: Introducing Docker,its components and toolsDocker for the new Era: Introducing Docker,its components and tools
Docker for the new Era: Introducing Docker,its components and toolsRamit Surana
 
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...Ido Flatow
 
Dockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec KraloveDockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec Kralovedamovsky
 
Learning Dockers - Step by Step
Learning Dockers - Step by StepLearning Dockers - Step by Step
Learning Dockers - Step by StepAdnan Siddiqi
 
Containerizing a Web Application with Vue.js and Java
Containerizing a Web Application with Vue.js and JavaContainerizing a Web Application with Vue.js and Java
Containerizing a Web Application with Vue.js and JavaJadson Santos
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionSparkbit
 
Docker on azure
Docker on azureDocker on azure
Docker on azureAnuraj P
 
Docker From Scratch
Docker From ScratchDocker From Scratch
Docker From ScratchGiacomo Vacca
 
Docker interview Questions-1.pdf
Docker interview Questions-1.pdfDocker interview Questions-1.pdf
Docker interview Questions-1.pdfYogeshwaran R
 

Semelhante a Docker lxc win (20)

Virtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesVirtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management services
 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the World
 
Docker and Microservice
Docker and MicroserviceDocker and Microservice
Docker and Microservice
 
Up and running with docker
Up and running with dockerUp and running with docker
Up and running with docker
 
Cohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel PalstraCohesion Techsessie Docker - Daniel Palstra
Cohesion Techsessie Docker - Daniel Palstra
 
Docker
DockerDocker
Docker
 
Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
 
Docker for the new Era: Introducing Docker,its components and tools
Docker for the new Era: Introducing Docker,its components and toolsDocker for the new Era: Introducing Docker,its components and tools
Docker for the new Era: Introducing Docker,its components and tools
 
Docker presentation
Docker presentationDocker presentation
Docker presentation
 
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
From VMs to Containers: Introducing Docker Containers for Linux and Windows S...
 
Dockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec KraloveDockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec Kralove
 
Learning Dockers - Step by Step
Learning Dockers - Step by StepLearning Dockers - Step by Step
Learning Dockers - Step by Step
 
Containerizing a Web Application with Vue.js and Java
Containerizing a Web Application with Vue.js and JavaContainerizing a Web Application with Vue.js and Java
Containerizing a Web Application with Vue.js and Java
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker on azure
Docker on azureDocker on azure
Docker on azure
 
Containerization using docker and its applications
Containerization using docker and its applicationsContainerization using docker and its applications
Containerization using docker and its applications
 
Containerization using docker and its applications
Containerization using docker and its applicationsContainerization using docker and its applications
Containerization using docker and its applications
 
Docker From Scratch
Docker From ScratchDocker From Scratch
Docker From Scratch
 
Docker slides
Docker slidesDocker slides
Docker slides
 
Docker interview Questions-1.pdf
Docker interview Questions-1.pdfDocker interview Questions-1.pdf
Docker interview Questions-1.pdf
 

Último

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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 2024Rafal Los
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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 RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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...Martijn de Jong
 
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...Enterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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 2024The Digital Insurer
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
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...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Docker lxc win

  • 1. LINUX CONTAINERS AND DOCKER OPEN PLATFORM Rahul More
  • 2.
  • 3. Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications
  • 4. ? ‱ “an open source platform to pack, ship and run any application as a lightweight linux container.” ‱ “chroot on steroids.”
  • 5.
  • 7. WHY TO USE DOCKER- MINGLE ‱ Developers ‱ QA ‱ Nebulous SYS Admins- ish
  • 9. QA “does not work on my test environment”
  • 10. SYS ADMIN “I want my weekend”
  • 11. WHY USE DOCKER? ‱ Portable deployments. ‱ Fast Application delivery. ‱ Scale and deployed with ease. ‱ Higher workloads - greater density.
  • 12. Dev App Container Tester Container Sys Admin Automation ProductionEnvironments
  • 15. DOCKER ‱ Client Server Architecture. ‱ Socket or REST APIs ‱ Docker Daemon ‱ All container operations ‱ Docker Client ‱ Main interface between user and docker daemon. ‱ Docker Internal Components.
  • 16. DOCKER COMPONENTS ‱ Docker Internal Components ‱ Docker Image ‱ Similar to OS disk images. ‱ Used as base , layers build upon the base image[Layer 0]. ‱ Portable. ‱ Docker Registry ‱ Repository of Docker Images. ‱ Public or Private. ‱ Docker Containers ‱ Running Images ‱ Directory + Execution Environment. ‱ Isolated. ‱ User Space + Networking + Security Components. Docker Image Kernal Docker Engine Docker Registr y Docker Container
  • 17. WORKING OF DOCKER ‱ Docker Image. ‱ Each image is association of images. ‱ Layered approach for abstraction. ‱ Unified file system. Each layer as a directory. ‱ Dockerfile. Base Image Layered Image-2[add apache] Running Container [php application Layered Image-2[add php] Layered Image-3[add mysql] Reference Image
  • 18. WORKING OF DOCKER ‱ Docker Registry. ‱ All images are stored in a client. ‱ Private or public. ‱ Images are pulled and pushed in a registry.
  • 19. WORKING OF DOCKER ‱ Docker Container. ‱ Run time environment. ‱ Command from REST API/Docker Binary to run the container. ‱ sudo docker run -i -t ubuntu /bin/ bash Docker client Docker Daemon Container Pulled Image REPOSITORY Creates Containers from Image Binary API Request
  • 20. DOCKER ‱ sudo docker run -i -t ubuntu /bin/ bash ‱ Docker client will be launched with “docker run” command. ‱ It tells the daemon, from which image the container should be created. In our example, it is a Ubuntu image. ‱ “-i” tells the Docker daemon to run the container in interactive mode. ‱ “-t” represents tty mode for interactive session. ‱ “/ bin/ bash” tells the Docker daemon to start the bash shell when the container is launched. Docker client Docker Daemon Container Pulled Image REPOSITORY Creates Containers from Image Binary API Request
  • 21. DOCKER ‱ Successful Execution of run. ‱ Checks for the image. ‱ Pulls the image to create a container. ‱ Creates a read/write filesystem over the image. ‱ Creates a network interface for the container to interact with host machine. ‱ Checks for IP . Allocates IP. ‱ Executes the command specified. ‱ Logs. Docker client Docker Daemon Container Pulled Image REPOSITORY Creates Containers from Image Binary API Request
  • 22. IMMUTABLE INFRASTRUCURE ‱ Immutable infrastructure comprises of immutable components and for every deployment the components will be replaced with the updated component rather than being updated.
  • 23. DEMO ‱ A static web application running on apache. ‱ A mysql Image. ‱ Wordpress application with MYSQL db. ‱ Hosting multiple websites on docker host. ‱ Building and testing containers using Jenkins CI.