SlideShare a Scribd company logo
LXC 
Introduction 
Lus Eduardo 
lets@cin.ufpe.br 
Federal University of Pernambuco 
November 2014 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 1 / 19
Summary 
1 De
nition 
2 General 
3 Implementations 
Main implementations 
4 Using LXC 
Installation 
Basic Usage 
Advanced Use 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 2 / 19
De
nition 
Linux Containers (LXC for LinuX Containers) are lightweight virtual 
machines (VMs) which are realized using features provided by a 
modern Linux kernel { VMs without the hypervisor. 
Operational system-level virtualization method for running multiples 
and isolated systems (containers) on a single host. 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 3 / 19
General 
Lightweight process virtualization is not new 
Chroot 
Solaris Zones 
BSD jails 
AIX WPARs (Workload Partitions) 
Linux-based containers projects 
Why now? 
Kernel Support +3.8(Febuary 2013) 
Namespaces 
Cgroups 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 4 / 19
Implementations 
Figure: Several ways to use container. Source:Wikipedia 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 5 / 19
Summary 
1 De
nition 
2 General 
3 Implementations 
Main implementations 
4 Using LXC 
Installation 
Basic Usage 
Advanced Use 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 6 / 19
Main implementations 
LXC 
Mostly written in C 
Stable and mature codebase 
Docker 
Mostly written in Go 
Stable and mature codebase 
Similar architecture with con
guration management 
OpenVZ 
Mostly written in C 
Stable and mature codebase 
Project that gave rise to several other 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 7 / 19
Summary 
1 De
nition 
2 General 
3 Implementations 
Main implementations 
4 Using LXC 
Installation 
Basic Usage 
Advanced Use 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 8 / 19
Installation 
Debian distributions 
$ sudo apt-get install lxc 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 9 / 19
Summary 
1 De
nition 
2 General 
3 Implementations 
Main implementations 
4 Using LXC 
Installation 
Basic Usage 
Advanced Use 
Lus Eduardo lets@cin.ufpe.br (UFPE) LXC November 2014 10 / 19
Usage 
Test installation: 
Check con
gurations 
$ sudo lxc-checkcon
g 
Figure: lxc-checkcon

More Related Content

What's hot (20)

PDF
Linux Containers From Scratch
joshuasoundcloud
 
PDF
Docker storage drivers by Jérôme Petazzoni
Docker, Inc.
 
PDF
Cgroups, namespaces, and beyond: what are containers made from? (DockerCon Eu...
Jérôme Petazzoni
 
PPTX
Union FileSystem - A Building Blocks Of a Container
Knoldus Inc.
 
PPTX
Docker: Aspects of Container Isolation
allingeek
 
PDF
Linux cgroups and namespaces
Locaweb
 
PDF
Linux Container Technology 101
inside-BigData.com
 
PDF
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
Jérôme Petazzoni
 
PPTX
Lxc – next gen virtualization for cloud intro (cloudexpo)
Boden Russell
 
PDF
Linuxcon Barcelon 2012: LXC Best Practices
christophm
 
PDF
Docker internals
Rohit Jnagal
 
PDF
Understanding LXC & Docker
Comprinno Technologies
 
PDF
Namespaces and cgroups - the basis of Linux containers
Kernel TLV
 
PDF
Namespaces in Linux
Lubomir Rintel
 
PDF
Inside Docker for Fedora20/RHEL7
Etsuji Nakai
 
PDF
Containers and Namespaces in the Linux Kernel
OpenVZ
 
PPTX
Container Torture: Run any binary, in any container
Docker, Inc.
 
PDF
Docker Container: isolation and security
宇 傅
 
PDF
Let's Containerize New York with Docker!
Jérôme Petazzoni
 
PDF
Lightweight Virtualization: LXC containers & AUFS
Jérôme Petazzoni
 
Linux Containers From Scratch
joshuasoundcloud
 
Docker storage drivers by Jérôme Petazzoni
Docker, Inc.
 
Cgroups, namespaces, and beyond: what are containers made from? (DockerCon Eu...
Jérôme Petazzoni
 
Union FileSystem - A Building Blocks Of a Container
Knoldus Inc.
 
Docker: Aspects of Container Isolation
allingeek
 
Linux cgroups and namespaces
Locaweb
 
Linux Container Technology 101
inside-BigData.com
 
Anatomy of a Container: Namespaces, cgroups & Some Filesystem Magic - LinuxCon
Jérôme Petazzoni
 
Lxc – next gen virtualization for cloud intro (cloudexpo)
Boden Russell
 
Linuxcon Barcelon 2012: LXC Best Practices
christophm
 
Docker internals
Rohit Jnagal
 
Understanding LXC & Docker
Comprinno Technologies
 
Namespaces and cgroups - the basis of Linux containers
Kernel TLV
 
Namespaces in Linux
Lubomir Rintel
 
Inside Docker for Fedora20/RHEL7
Etsuji Nakai
 
Containers and Namespaces in the Linux Kernel
OpenVZ
 
Container Torture: Run any binary, in any container
Docker, Inc.
 
Docker Container: isolation and security
宇 傅
 
Let's Containerize New York with Docker!
Jérôme Petazzoni
 
Lightweight Virtualization: LXC containers & AUFS
Jérôme Petazzoni
 

Similar to Lxc- Introduction (20)

PDF
Lightweight Virtualization: LXC Best Practices
Werner Fischer
 
PDF
Docker containers : introduction
rinnocente
 
PDF
Linux Containers & Docker
Jumping Bean
 
PPTX
Introduction to linux at Introductory Bioinformatics Workshop
Setor Amuzu
 
PDF
Introducing Docker
Francesco Pantano
 
PDF
Docker-v3.pdf
Bruno Cornec
 
DOCX
Isolating an applications using LXC – Linux Containers
Venkat Raman
 
PDF
Evoluation of Linux Container Virtualization
Imesh Gunaratne
 
PDF
Evolution of Linux Containerization
WSO2
 
PPTX
Introduce to linux
Shamimul Alam
 
PDF
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Codemotion
 
PDF
codemotion-docker-2014
Carlo Bonamico
 
PDF
Introdution to Docker (theory and hands on) dbCafé - dbTrento
Cristian Consonni
 
PPTX
Linux Container Brief for IEEE WG P2302
Boden Russell
 
PDF
20240201 [HPC Containers] Rootless Containers.pdf
Akihiro Suda
 
PDF
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy
 
PDF
Dev opsec dockerimage_patch_n_lifecyclemanagement_2019
kanedafromparis
 
PDF
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 
PDF
Develop QNAP NAS App by Docker
Terry Chen
 
PPT
linux-lecture1.ppt
jeronimored
 
Lightweight Virtualization: LXC Best Practices
Werner Fischer
 
Docker containers : introduction
rinnocente
 
Linux Containers & Docker
Jumping Bean
 
Introduction to linux at Introductory Bioinformatics Workshop
Setor Amuzu
 
Introducing Docker
Francesco Pantano
 
Docker-v3.pdf
Bruno Cornec
 
Isolating an applications using LXC – Linux Containers
Venkat Raman
 
Evoluation of Linux Container Virtualization
Imesh Gunaratne
 
Evolution of Linux Containerization
WSO2
 
Introduce to linux
Shamimul Alam
 
Why everyone is excited about Docker (and you should too...) - Carlo Bonamic...
Codemotion
 
codemotion-docker-2014
Carlo Bonamico
 
Introdution to Docker (theory and hands on) dbCafé - dbTrento
Cristian Consonni
 
Linux Container Brief for IEEE WG P2302
Boden Russell
 
20240201 [HPC Containers] Rootless Containers.pdf
Akihiro Suda
 
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy
 
Dev opsec dockerimage_patch_n_lifecyclemanagement_2019
kanedafromparis
 
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 
Develop QNAP NAS App by Docker
Terry Chen
 
linux-lecture1.ppt
jeronimored
 
Ad

Recently uploaded (20)

PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Basics of Electronics for IOT(actuators ,microcontroller etc..)
arnavmanesh
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Using Google Data Studio (Looker Studio) to Create Effective and Easy Data Re...
Orage Technologies
 
PPTX
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Basics of Electronics for IOT(actuators ,microcontroller etc..)
arnavmanesh
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Using Google Data Studio (Looker Studio) to Create Effective and Easy Data Re...
Orage Technologies
 
PCU Keynote at IEEE World Congress on Services 250710.pptx
Ramesh Jain
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
Ad

Lxc- Introduction