SlideShare uma empresa Scribd logo
1 de 13
s
Docker: The Linux container
Date: 14-Sep-2013
Name: Balaji Rajan
http://barcampbangalore.org/bcb/bcb14/docker-lightweight-containerhttp://barcampbangalore.org/bcb/bcb14/docker-lightweight-container
 Docker is an open source project to pack, ship and run any
application as a lightweight container.
 Docker containers are both hardware-agnostic and platform-
agnostic. This means that they can run anywhere, from your laptop
to the largest EC2 compute instance and everything in between - and
they don't require that you use a particular language, framework or
packaging system. That makes them great building blocks for
deploying and scaling web apps, databases and backend services
without depending on a particular stack or provider.
LXC - LinuX Container
 So basically docker is a tool to create and work
with linux containers(lxc).
 Lxc is an operating system-level virtualization
method for running multiple isolated Linux
systems (containers) on a single control host.
● So, LXC provides a way to run mini operating
systems in your Linux host operating system.
● So, LXC provides a way to run mini operating
systems in your Linux host operating system.
Then.. what is Virtual
Machine ???
● VM runs on(above) the Host operating system as
a full fledged OS and uses isolated process spaces.
● Docker runs with Host Operating system as its
share the host process spaces.
What’s the use of Docker
There is no need to install Virtual Box and download an OS
image and wait for several minutes to boot it up.
● Size: VMs are very large which makes them impractical to
store and transfer.
● Performance: running VMs consumes significant CPU and
memory, which makes them impractical in many scenarios,
for example local development of multi-tier applications, and
large-scale deployment of cpu and memory-intensive
applications on large numbers of machines.
● Throwable Sandboxes: Can create a container in a
minute to test your stuffs and tear it down.
● Elegant Application Delivery: Containers allow you to
package just about any application. You could add the
dependencies of the application in the container itself.
Ex: mysql service
● Docker makes containers reusable
● Uniform development and production Environments
ex: ruby 1.9 and 2.0
#CLI
● #docker pull ubuntu
It will pull the base Ubuntu container from Docker
Index.
● #docker run -t -i ubuntu apt-get install curl
It will install the cURL package inside your base
ubuntu image.
● #docker ps -a
This will give you a list of images, their IDs and
the command that was run
#docker commit
In order to save the image for re-use.
Demo!!!!
Thank You !!
Reference:
1. docker.io
2. https://github.com/dotcloud/docker

Mais conteúdo relacionado

Mais procurados

Release Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM GroupRelease Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM Group
Cornell Knulst
 

Mais procurados (20)

An introduction to contianers and Docker for PHP developers
An introduction to contianers and Docker for PHP developersAn introduction to contianers and Docker for PHP developers
An introduction to contianers and Docker for PHP developers
 
Docker
DockerDocker
Docker
 
Docker Presentation
Docker PresentationDocker Presentation
Docker Presentation
 
Docker
DockerDocker
Docker
 
Docker 101
Docker 101Docker 101
Docker 101
 
Docker for developers
Docker for developersDocker for developers
Docker for developers
 
Academy PRO: Docker. Lecture 1
Academy PRO: Docker. Lecture 1Academy PRO: Docker. Lecture 1
Academy PRO: Docker. Lecture 1
 
Containerized Delivery on the Microsoft Stack
Containerized Delivery on the Microsoft StackContainerized Delivery on the Microsoft Stack
Containerized Delivery on the Microsoft Stack
 
Release Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM GroupRelease Management with Docker - Dutch Microsoft ALM Group
Release Management with Docker - Dutch Microsoft ALM Group
 
Docker 101
Docker 101Docker 101
Docker 101
 
Introduction to Dockers and containers
Introduction to Dockers and containers Introduction to Dockers and containers
Introduction to Dockers and containers
 
Leverage LXC/LXD with Kubernetes
Leverage LXC/LXD with KubernetesLeverage LXC/LXD with Kubernetes
Leverage LXC/LXD with Kubernetes
 
Docker Introduction - DevOps Montreal Meetup
Docker Introduction - DevOps Montreal MeetupDocker Introduction - DevOps Montreal Meetup
Docker Introduction - DevOps Montreal Meetup
 
Building CLI Applications with Golang
Building CLI Applications with GolangBuilding CLI Applications with Golang
Building CLI Applications with Golang
 
Introduction to Containers and Docker for PHP developers
Introduction to Containers and Docker for PHP developersIntroduction to Containers and Docker for PHP developers
Introduction to Containers and Docker for PHP developers
 
What's new in kubernetes 1.3?
What's new in kubernetes 1.3?What's new in kubernetes 1.3?
What's new in kubernetes 1.3?
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Introduction to Microservices with Docker and Kubernetes
Introduction to Microservices with Docker and KubernetesIntroduction to Microservices with Docker and Kubernetes
Introduction to Microservices with Docker and Kubernetes
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
 
Linux containers
Linux containersLinux containers
Linux containers
 

Semelhante a Docker - The Linux container

Docker - The Linux Container
Docker - The Linux ContainerDocker - The Linux Container
Docker - The Linux Container
Balaji Rajan
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deployment
javaonfly
 

Semelhante a Docker - The Linux container (20)

Docker_tech_guild ppt.ppt technical guild
Docker_tech_guild ppt.ppt technical guildDocker_tech_guild ppt.ppt technical guild
Docker_tech_guild ppt.ppt technical guild
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
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
 
Docker
DockerDocker
Docker
 
The Docker Ecosystem
The Docker EcosystemThe Docker Ecosystem
The Docker Ecosystem
 
Docker slides
Docker slidesDocker slides
Docker slides
 
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
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
 
Docker - The Linux Container
Docker - The Linux ContainerDocker - The Linux Container
Docker - The Linux Container
 
Docker for Professionals: The Practical Guide
Docker for Professionals: The Practical GuideDocker for Professionals: The Practical Guide
Docker for Professionals: The Practical Guide
 
Introduction to Dockers.pptx
Introduction to Dockers.pptxIntroduction to Dockers.pptx
Introduction to Dockers.pptx
 
Docker+java
Docker+javaDocker+java
Docker+java
 
Let's dockerize
Let's dockerizeLet's dockerize
Let's dockerize
 
Docker on Power Systems
Docker on Power SystemsDocker on Power Systems
Docker on Power Systems
 
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
 
Introduction to docker and docker compose
Introduction to docker and docker composeIntroduction to docker and docker compose
Introduction to docker and docker compose
 
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and JenkinsExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deployment
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+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@
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
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...
 
+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...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Docker - The Linux container

  • 1. s Docker: The Linux container Date: 14-Sep-2013 Name: Balaji Rajan http://barcampbangalore.org/bcb/bcb14/docker-lightweight-containerhttp://barcampbangalore.org/bcb/bcb14/docker-lightweight-container
  • 2.  Docker is an open source project to pack, ship and run any application as a lightweight container.  Docker containers are both hardware-agnostic and platform- agnostic. This means that they can run anywhere, from your laptop to the largest EC2 compute instance and everything in between - and they don't require that you use a particular language, framework or packaging system. That makes them great building blocks for deploying and scaling web apps, databases and backend services without depending on a particular stack or provider.
  • 3. LXC - LinuX Container  So basically docker is a tool to create and work with linux containers(lxc).  Lxc is an operating system-level virtualization method for running multiple isolated Linux systems (containers) on a single control host. ● So, LXC provides a way to run mini operating systems in your Linux host operating system.
  • 4. ● So, LXC provides a way to run mini operating systems in your Linux host operating system.
  • 5. Then.. what is Virtual Machine ??? ● VM runs on(above) the Host operating system as a full fledged OS and uses isolated process spaces. ● Docker runs with Host Operating system as its share the host process spaces.
  • 6.
  • 7.
  • 8. What’s the use of Docker There is no need to install Virtual Box and download an OS image and wait for several minutes to boot it up. ● Size: VMs are very large which makes them impractical to store and transfer. ● Performance: running VMs consumes significant CPU and memory, which makes them impractical in many scenarios, for example local development of multi-tier applications, and large-scale deployment of cpu and memory-intensive applications on large numbers of machines.
  • 9. ● Throwable Sandboxes: Can create a container in a minute to test your stuffs and tear it down. ● Elegant Application Delivery: Containers allow you to package just about any application. You could add the dependencies of the application in the container itself. Ex: mysql service ● Docker makes containers reusable ● Uniform development and production Environments ex: ruby 1.9 and 2.0
  • 10. #CLI ● #docker pull ubuntu It will pull the base Ubuntu container from Docker Index. ● #docker run -t -i ubuntu apt-get install curl It will install the cURL package inside your base ubuntu image. ● #docker ps -a This will give you a list of images, their IDs and the command that was run
  • 11. #docker commit In order to save the image for re-use.
  • 13. Thank You !! Reference: 1. docker.io 2. https://github.com/dotcloud/docker