Your SlideShare is downloading. ×
Docker - The  Linux container
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Docker - The Linux container

942
views

Published on

Docker is an open source project to pack, ship and run any application as a lightweight container.

Docker is an open source project to pack, ship and run any application as a lightweight container.

Published in: Technology, News & Politics

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
942
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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. 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.
  • 7. ● 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
  • 8. #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
  • 9. #docker commit In order to save the image for re-use.
  • 10. Demo!!!!
  • 11. Thank You !! Reference: 1. docker.io 2. https://github.com/dotcloud/docker