Understanding LXC & Docker

1,488 views
1,160 views

Published on

The goal of LXC is to create an environment as close as possible as a standard Linux installation but without the need for a separate kernel.

Published in: Technology, Business
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,488
On SlideShare
0
From Embeds
0
Number of Embeds
61
Actions
Shares
0
Downloads
52
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Understanding LXC & Docker

  1. 1. Understanding LXC & Docker www.comprinno.net 1 By Prasad Puranik (@pspuranik)
  2. 2. www.comprinno.net 2 DISCUSSION FLOW
  3. 3. www.comprinno.net 3 UNDERSTANDING LXC LXC (LinuX Containers) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host. Server Host OS Bins/Libs APP Bins/Libs App LXC ISOLATED
  4. 4. www.comprinno.net 4 UNDERSTANDING LXC Kernel uts mount pid network user ipc LXC (LinuX Containers) is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host. This is accomplished through kernel level isolation.
  5. 5. www.comprinno.net 5 UNDERSTANDING LXC LXC uses many kernel features to contain processes. Kernel Namespaces AppArmor & SELinux Profiles Seccomp policies chroot cgroups
  6. 6. www.comprinno.net 6 UNDERSTANDING LXC The goal of LXC is to create an environment as close as possible as a standard Linux installation but without the need for a separate kernel.
  7. 7. www.comprinno.net 7 DOCKER as a LXC MANAGER Server Host OS Bins/Libs APP Bins/Libs App Where does Docker fits here?
  8. 8. www.comprinno.net 8 DOCKER as a LXC MANAGER Server Host OS Docker Bins/Libs APP Bins/Libs AppOn top of this low-level foundation of kernel features, Docker offers a high-level tool with several powerful functionalities
  9. 9. www.comprinno.net 9 DOCKER as a LXC MANAGER Server Host OS Docker Bins/Libs APP Bins/Libs App
  10. 10. www.comprinno.net 10 DOCKER as a LXC MANAGER Portable deployment across machines Application-centric Automatic build Versioning Component re-use Tool ecosystem
  11. 11. www.comprinno.net 11 LXC vsVM Server Host OS Docker Bins/Libs AP`P Bins/Libs App Server Host OS Hypervisor Guest OS Bins/Libs APP Bins/Libs App Guest OS Bins/Libs APP Bins/Libs App LXC VM
  12. 12. www.comprinno.net 12 LXC vsVM Server Host OS Docker Bins/Libs AP`P Bins/Libs App LXC Lightweight & Resource Friendly Comprehensive process and resource isolation Rapid & Easy Deployment
  13. 13. www.comprinno.net 13 LXC vsVM Lightweight & Resource Friendly Comprehensive process and resource isolation Rapid & Easy Deployment Who all are choosing LXC overVM?
  14. 14. www.comprinno.net 14 WHY DOCKER(LXC)? QUICK AND EASY MULTI-TENANCY LOW COSTS ENV ISOLATION FASTER MIGRATIONTO SaaS MODEL
  15. 15. www.comprinno.net 15 DOCKER FOR QUICK AND EASY MULTI-TENANCY : Host OS Docker Bins/Libs APP Bins/Libs App Bins/Libs App Bins/Libs App Bins/Libs App
  16. 16. www.comprinno.net 16 DOCKER FOR QUICK AND EASY MULTI-TENANCY : Host OS Docker Bins/Libs APP Tenant1 Bins/Libs App Tenant2 Bins/Libs App Tenant3 Bins/Libs App Tenant4 Bins/Libs App Tenant5
  17. 17. www.comprinno.net 17 DOCKER FOR LOW COST ENV ISOLATION : Host OS Docker Bins/Libs APP Tenant1 Bins/Libs App Tenant2 Bins/Libs App Tenant3 Bins/Libs App Tenant4 Bins/Libs App Tenant5 Isolation using chroot, cgroup, namespaces, SELinux, AppArmor, netfilter (iptables)
  18. 18. www.comprinno.net 18 DOCKER FOR FASTER MIGRATIONTO SaaS MODEL : Host OS Docker Bins/Libs APP Tenant1 Bins/Libs App Tenant2 Bins/Libs App Tenant3 Bins/Libs App Tenant4 Bins/Libs App Tenant5
  19. 19. www.comprinno.net 19 CONCLUDING REMARKS : “If you can run your application on Linux host, you can run it in LXC too. You don’t need separateVM for that. ”
  20. 20. www.comprinno.net 20 About COMPRINNO We are Cloud Solution Provisioning & Management Experts. We help enterprises devising, implementing and managing cloud based IT infrastructure and services. We work in the domains of Cloud Computing, Big Data, DevOps, Storage and Security. Founded in 2013, we are a Bangalore based company. Our ability to deal with complex technologies with the ease Our approach towards our customers, partners, employees & shareholders Our commitment for continues improvement in our services, products and processes COMPRINNO stands for
  21. 21. www.comprinno.net 21 Connect With Us blogs.comprinno.net @ComprinnoTech /ComprinnoTechnologies info@comprinno.net +91-80-2257-9047 +91-98863-01605

×