SlideShare a Scribd company logo
Understanding LXC & Docker
www.comprinno.net 1
By Prasad Puranik (@pspuranik)
www.comprinno.net 2
DISCUSSION FLOW
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
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.
www.comprinno.net 5
UNDERSTANDING LXC
LXC uses many kernel
features to contain
processes.
Kernel Namespaces
AppArmor & SELinux Profiles
Seccomp policies
chroot
cgroups
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.
www.comprinno.net 7
DOCKER as a LXC MANAGER
Server
Host OS
Bins/Libs
APP
Bins/Libs
App
Where does Docker fits
here?
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
www.comprinno.net 9
DOCKER as a LXC MANAGER
Server
Host OS
Docker
Bins/Libs
APP
Bins/Libs
App
www.comprinno.net 10
DOCKER as a LXC MANAGER
Portable deployment across machines
Application-centric
Automatic build
Versioning
Component re-use
Tool ecosystem
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
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
www.comprinno.net 13
LXC vsVM
Lightweight & Resource
Friendly
Comprehensive process and
resource isolation
Rapid & Easy Deployment
Who all are choosing LXC overVM?
www.comprinno.net 14
WHY DOCKER(LXC)?
QUICK AND EASY MULTI-TENANCY
LOW COSTS ENV ISOLATION
FASTER MIGRATIONTO SaaS MODEL
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
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
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)
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
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. ”
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
www.comprinno.net 21
Connect With Us
blogs.comprinno.net @ComprinnoTech /ComprinnoTechnologies
info@comprinno.net +91-80-2257-9047 +91-98863-01605

More Related Content

PPTX
Containers and Cloud: From LXC to Docker to Kubernetes
PPTX
Lxc – next gen virtualization for cloud intro (cloudexpo)
PDF
Evoluation of Linux Container Virtualization
PPTX
Performance characteristics of traditional v ms vs docker containers (dockerc...
PDF
Docker introduction for Carbon IT
PDF
Introduction to docker
PDF
Understand how docker works
PPTX
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy
Containers and Cloud: From LXC to Docker to Kubernetes
Lxc – next gen virtualization for cloud intro (cloudexpo)
Evoluation of Linux Container Virtualization
Performance characteristics of traditional v ms vs docker containers (dockerc...
Docker introduction for Carbon IT
Introduction to docker
Understand how docker works
Linux containers – next gen virtualization for cloud (atl summit) ar4 3 - copy

What's hot (20)

PPTX
Linux Container Brief for IEEE WG P2302
PDF
Linux Container Technology 101
PDF
Docker Architecture (v1.3)
ODP
OpenVZ, Virtuozzo and Docker
PPTX
Performance comparison between Linux Containers and Virtual Machines
PPTX
Docker introduction
PPTX
Realizing Linux Containers (LXC)
PPTX
PDF
Lxc- Introduction
PPTX
Containers in the Cloud
PDF
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
PDF
Intro to containerization
PDF
PPTX
KVM and docker LXC Benchmarking with OpenStack
PDF
Virtual Machines and Docker
PPTX
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
PDF
Containers technologies
PDF
Lxc- Linux Containers
PDF
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
PPTX
Introduction to linux containers
Linux Container Brief for IEEE WG P2302
Linux Container Technology 101
Docker Architecture (v1.3)
OpenVZ, Virtuozzo and Docker
Performance comparison between Linux Containers and Virtual Machines
Docker introduction
Realizing Linux Containers (LXC)
Lxc- Introduction
Containers in the Cloud
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Intro to containerization
KVM and docker LXC Benchmarking with OpenStack
Virtual Machines and Docker
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
Containers technologies
Lxc- Linux Containers
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Introduction to linux containers
Ad

Similar to Understanding LXC & Docker (20)

PDF
PPT
Develop with linux containers and docker
DOCX
Isolating an applications using LXC – Linux Containers
PDF
Types of Containerization in DevOps - VaST ITES INC..pdf
PDF
VaST ITES INC. - Types of Containerization in DevOps.pdf
PDF
Types of Containerization in DevOps - VaST ITES INC. (1).pdf
PPT
2 Linux Container and Docker
PDF
HLayer / Docker and its ecosystem
PDF
Containers for Lawyers Richard Fontana
PDF
Introduction to Docker
PDF
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
PDF
Evolution of containers to kubernetes
PPTX
Introduction to docker
PDF
The State of Linux Containers
PDF
The Docker Ecosystem
PPTX
Docker & Kubernetes intro
ODP
Docker - The Linux Container
PPTX
Docker intro
PPTX
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
PPTX
Why do I need Kubernetes?
Develop with linux containers and docker
Isolating an applications using LXC – Linux Containers
Types of Containerization in DevOps - VaST ITES INC..pdf
VaST ITES INC. - Types of Containerization in DevOps.pdf
Types of Containerization in DevOps - VaST ITES INC. (1).pdf
2 Linux Container and Docker
HLayer / Docker and its ecosystem
Containers for Lawyers Richard Fontana
Introduction to Docker
Linux Containers : dupliquer Linux à volonté - David Hueber - Grégory Steulet...
Evolution of containers to kubernetes
Introduction to docker
The State of Linux Containers
The Docker Ecosystem
Docker & Kubernetes intro
Docker - The Linux Container
Docker intro
Building Distributed Systems without Docker, Using Docker Plumbing Projects -...
Why do I need Kubernetes?
Ad

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Electronic commerce courselecture one. Pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
KodekX | Application Modernization Development
PPT
Teaching material agriculture food technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Review of recent advances in non-invasive hemoglobin estimation
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Modernizing your data center with Dell and AMD
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
KodekX | Application Modernization Development
Teaching material agriculture food technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
NewMind AI Monthly Chronicles - July 2025
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx

Understanding LXC & Docker