SlideShare a Scribd company logo
Linux
Containers
OpenVZ, LXC
Let’s do this
• What are they?
• And I can use them for?
• How do they work?
• OpenVZ
• LXC
• Container Management
• Docker
Containers – What are
they?
“Is an operating system–level virtualization method for
running multiple isolated Linux systems (containers) on
a single control host.” … Wikipedia
“Chroot with steroids” … Interwebs
“OS-level Virtualization” … Interwebs
It has been around for almost over a decade.
VM vs Container
And can I use them for?
• Running multiple versions of software (centos 5 and
centos 6 or ubuntu 10 and ubuntu 12)
• Running many copies of applications configurations
on the same host
• Create sandbox environments for development
and testing
• Provide user environments whose resources are
tightly controlled.
• VPS and PaaS
How do they work?
• OS Virtualization (Linux over Linux only… Sorry MS)
• Share the same hardware (No HW virtualization)
• Container has its own isolated namespaces
• Network over bridge/NAT/tunnel
OpenVZ
• Kernel features
o Namespaces: virtualization and isolation
o Cgroups: resource management
o Checkpoint/restart: freeze and unfreeze
• Tools
o Vzctl - Containers control utility
• Templates
o Precreatedimages for fast provisioning
• Each container has its own
o Files (chroot)
o Process tree (PID)
o Network (net namespace)
o Devices
o IPC
• Kernel 2.6 support
• Production ready
• Supported by
CentOS, RHEL,
Ubuntu, Debian
• Used in many VPS
• Biggest contributors
to LXC
LXC
• Kernel > 2.6.30
• Namespaces
o Utsname
o IPC
o PID
o User
o Network
o Devices
• Control Groups
o Namespace
o Devices
o Scheduler
o CPU and memory
• Most distros will support
it but if not you can
download it from
https://github.com/lxc/l
xc
• Network available
through bridge, NAT or
vpn tunnel
Container Management
• Some tools out there which are Open Source:
o FOSVM
o HyperVM
o OpenVZ Web Panel
Docker for LXC
• Open Source engine
which allows you to
deploy multiple
containers over LXC
• Created by dotCloud
• Popular between devs
that run ubuntu
• Not production ready
• Downside is that
requires AUFS/LXC (bad
luck RHEL/CentOS)
Let’s play
DEMO
Questions?
openvz.org
Linuxcontainers.org
www.docker.io
https://wiki.archlinux.org/index.php/Linux_Containers
https://help.ubuntu.com/lts/serverguide/lxc.html
http://wiki.centos.org/HowTos/LXC-on-CentOS6
Thanks

More Related Content

KEY
Openvz - a quick introduction
Olle E Johansson
 
PPT
An overview of OpenVZ virtualization technology
OpenVZ
 
PDF
Kонтейнерная виртуализация в продуктах parallels прошлое, настоящее и будущее.
WG_ Events
 
PDF
Fundamental Virtualisasi di openSUSE
utianayuba
 
PPTX
Containers in the Cloud
James Darrell Pratt
 
PDF
Understand docker
Harry Oh
 
PDF
Lxc- Introduction
Luís Eduardo
 
PPT
Linux Virtualization
OpenVZ
 
Openvz - a quick introduction
Olle E Johansson
 
An overview of OpenVZ virtualization technology
OpenVZ
 
Kонтейнерная виртуализация в продуктах parallels прошлое, настоящее и будущее.
WG_ Events
 
Fundamental Virtualisasi di openSUSE
utianayuba
 
Containers in the Cloud
James Darrell Pratt
 
Understand docker
Harry Oh
 
Lxc- Introduction
Luís Eduardo
 
Linux Virtualization
OpenVZ
 

What's hot (20)

PPTX
Containers and Cloud: From LXC to Docker to Kubernetes
Shreyas MM
 
ODP
OpenVZ, Virtuozzo and Docker
Kirill Kolyshkin
 
ODP
Openvz booth
OpenVZ
 
PDF
XS Boston 2008 Quantitative
The Linux Foundation
 
PDF
Understanding LXC & Docker
Comprinno Technologies
 
PPTX
LXC
Wu Fan-Cheng
 
PDF
Leverage LXC/LXD with Kubernetes
Lin Sun
 
PDF
Linux Containers & Docker
Jumping Bean
 
PPTX
Performance comparison between Linux Containers and Virtual Machines
Soheila Dehghanzadeh
 
PDF
OpenVZ Linux Containers
Kirill Kolyshkin
 
PDF
Libcontainer: joining forces under one roof
Andrey Vagin
 
PDF
Linux Container Technology 101
inside-BigData.com
 
PPTX
Docker Security and Orchestration for DevSecOps wins
Sharath Kumar
 
PPTX
Introduction to linux containers
Google
 
PDF
LXD: The hypervisor that isn't
tych0
 
PPTX
Kubernetes
Venkata Naga Ravi
 
PDF
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Lakmal Warusawithana
 
PDF
Docker. General overview
Mirantis IT Russia
 
PDF
Container orchestration
Timo Derstappen
 
Containers and Cloud: From LXC to Docker to Kubernetes
Shreyas MM
 
OpenVZ, Virtuozzo and Docker
Kirill Kolyshkin
 
Openvz booth
OpenVZ
 
XS Boston 2008 Quantitative
The Linux Foundation
 
Understanding LXC & Docker
Comprinno Technologies
 
Leverage LXC/LXD with Kubernetes
Lin Sun
 
Linux Containers & Docker
Jumping Bean
 
Performance comparison between Linux Containers and Virtual Machines
Soheila Dehghanzadeh
 
OpenVZ Linux Containers
Kirill Kolyshkin
 
Libcontainer: joining forces under one roof
Andrey Vagin
 
Linux Container Technology 101
inside-BigData.com
 
Docker Security and Orchestration for DevSecOps wins
Sharath Kumar
 
Introduction to linux containers
Google
 
LXD: The hypervisor that isn't
tych0
 
Kubernetes
Venkata Naga Ravi
 
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Lakmal Warusawithana
 
Docker. General overview
Mirantis IT Russia
 
Container orchestration
Timo Derstappen
 
Ad

Viewers also liked (17)

PPTX
Dockerin10mins
Dawood M.S
 
PPT
File system
Harleen Johal
 
PPTX
Types of application program
Roselyn Villanueva
 
PDF
Containers & Cloud
SUSE
 
PDF
Operating system structures
Mohd Arif
 
PDF
Function in C
Dr. Abhineet Anand
 
PPTX
Function in C program
Nurul Zakiah Zamri Tan
 
PPTX
Types of Operating System
Hemant Raj
 
PPTX
types of operating system
Mahira Rashdi
 
PPTX
Jfokus 2017 Oracle Dev Cloud and Containers
Mika Rinne
 
PPTX
Operating system and its function
Nikhi Jain
 
PPTX
Types of operating system
Jesus Obenita Jr.
 
PPTX
Operating Systems
Harshith Meela
 
PPT
Operating system.ppt (1)
Vaibhav Bajaj
 
PPT
Presentation on operating system
Nitish Xavier Tirkey
 
PPTX
Operating system overview concepts ppt
RajendraPrasad Alladi
 
PDF
LinkedIn SlideShare: Knowledge, Well-Presented
SlideShare
 
Dockerin10mins
Dawood M.S
 
File system
Harleen Johal
 
Types of application program
Roselyn Villanueva
 
Containers & Cloud
SUSE
 
Operating system structures
Mohd Arif
 
Function in C
Dr. Abhineet Anand
 
Function in C program
Nurul Zakiah Zamri Tan
 
Types of Operating System
Hemant Raj
 
types of operating system
Mahira Rashdi
 
Jfokus 2017 Oracle Dev Cloud and Containers
Mika Rinne
 
Operating system and its function
Nikhi Jain
 
Types of operating system
Jesus Obenita Jr.
 
Operating Systems
Harshith Meela
 
Operating system.ppt (1)
Vaibhav Bajaj
 
Presentation on operating system
Nitish Xavier Tirkey
 
Operating system overview concepts ppt
RajendraPrasad Alladi
 
LinkedIn SlideShare: Knowledge, Well-Presented
SlideShare
 
Ad

Similar to Containers - Cloud Phoenix March Meetup (20)

PDF
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
dotCloud
 
PDF
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
 
PDF
Woc15
tych0
 
PPTX
Virtual machines and containers
Patrick Pierson
 
PDF
Revolutionizing the cloud with container virtualization
WSO2
 
PDF
Lightweight Virtualization in Linux
Sadegh Dorri N.
 
PDF
Drupalcamp es 2013 drupal with lxc docker and vagrant
Ricardo Amaro
 
PDF
Linux container & docker
ejlp12
 
PDF
LXC, Docker, and the future of software delivery | LinuxCon 2013
dotCloud
 
PDF
LXC Docker and the Future of Software Delivery
Docker, Inc.
 
PDF
Let's Containerize New York with Docker!
Jérôme Petazzoni
 
PDF
Docker from basics to orchestration (PHPConfBr2015)
Wellington Silva
 
PDF
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
Yandex
 
PDF
Lxc- Linux Containers
samof76
 
PPT
Develop with linux containers and docker
Fabio Fumarola
 
PPTX
Containerization & Docker - Under the Hood
Imesha Sudasingha
 
PPT
2 Linux Container and Docker
Fabio Fumarola
 
PDF
Containing the world with Docker
Giuseppe Piccolo
 
PDF
Evolution of containers to kubernetes
Krishna-Kumar
 
PDF
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
dotCloud
 
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
 
Woc15
tych0
 
Virtual machines and containers
Patrick Pierson
 
Revolutionizing the cloud with container virtualization
WSO2
 
Lightweight Virtualization in Linux
Sadegh Dorri N.
 
Drupalcamp es 2013 drupal with lxc docker and vagrant
Ricardo Amaro
 
Linux container & docker
ejlp12
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
dotCloud
 
LXC Docker and the Future of Software Delivery
Docker, Inc.
 
Let's Containerize New York with Docker!
Jérôme Petazzoni
 
Docker from basics to orchestration (PHPConfBr2015)
Wellington Silva
 
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
Yandex
 
Lxc- Linux Containers
samof76
 
Develop with linux containers and docker
Fabio Fumarola
 
Containerization & Docker - Under the Hood
Imesha Sudasingha
 
2 Linux Container and Docker
Fabio Fumarola
 
Containing the world with Docker
Giuseppe Piccolo
 
Evolution of containers to kubernetes
Krishna-Kumar
 
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 

More from Miguel Zuniga (11)

PPTX
Implementing open source as your business model
Miguel Zuniga
 
PPTX
Openstack components as containerized microservices
Miguel Zuniga
 
PPTX
Creating hybrid cloud openstack + public cloud
Miguel Zuniga
 
PPTX
Platform as a Service with Kubernetes and Mesos
Miguel Zuniga
 
PPTX
Continuous Integration with Puppet
Miguel Zuniga
 
PPTX
Cloud Platform Symantec Meetup Nov 2014
Miguel Zuniga
 
PPTX
Managing and Scaling Puppet - PuppetConf 2014
Miguel Zuniga
 
PPTX
Fluo CICD OpenStack Summit
Miguel Zuniga
 
PPTX
Private cloud cloud-phoenix-april-2014
Miguel Zuniga
 
PPTX
Configuration Management in the Cloud - Cloud Phoenix Meetup Feb 2014
Miguel Zuniga
 
PDF
Open escalar presentation
Miguel Zuniga
 
Implementing open source as your business model
Miguel Zuniga
 
Openstack components as containerized microservices
Miguel Zuniga
 
Creating hybrid cloud openstack + public cloud
Miguel Zuniga
 
Platform as a Service with Kubernetes and Mesos
Miguel Zuniga
 
Continuous Integration with Puppet
Miguel Zuniga
 
Cloud Platform Symantec Meetup Nov 2014
Miguel Zuniga
 
Managing and Scaling Puppet - PuppetConf 2014
Miguel Zuniga
 
Fluo CICD OpenStack Summit
Miguel Zuniga
 
Private cloud cloud-phoenix-april-2014
Miguel Zuniga
 
Configuration Management in the Cloud - Cloud Phoenix Meetup Feb 2014
Miguel Zuniga
 
Open escalar presentation
Miguel Zuniga
 

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
The Future of Artificial Intelligence (AI)
Mukul
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 

Containers - Cloud Phoenix March Meetup

  • 2. Let’s do this • What are they? • And I can use them for? • How do they work? • OpenVZ • LXC • Container Management • Docker
  • 3. Containers – What are they? “Is an operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host.” … Wikipedia “Chroot with steroids” … Interwebs “OS-level Virtualization” … Interwebs It has been around for almost over a decade.
  • 5. And can I use them for? • Running multiple versions of software (centos 5 and centos 6 or ubuntu 10 and ubuntu 12) • Running many copies of applications configurations on the same host • Create sandbox environments for development and testing • Provide user environments whose resources are tightly controlled. • VPS and PaaS
  • 6. How do they work? • OS Virtualization (Linux over Linux only… Sorry MS) • Share the same hardware (No HW virtualization) • Container has its own isolated namespaces • Network over bridge/NAT/tunnel
  • 7. OpenVZ • Kernel features o Namespaces: virtualization and isolation o Cgroups: resource management o Checkpoint/restart: freeze and unfreeze • Tools o Vzctl - Containers control utility • Templates o Precreatedimages for fast provisioning • Each container has its own o Files (chroot) o Process tree (PID) o Network (net namespace) o Devices o IPC • Kernel 2.6 support • Production ready • Supported by CentOS, RHEL, Ubuntu, Debian • Used in many VPS • Biggest contributors to LXC
  • 8. LXC • Kernel > 2.6.30 • Namespaces o Utsname o IPC o PID o User o Network o Devices • Control Groups o Namespace o Devices o Scheduler o CPU and memory • Most distros will support it but if not you can download it from https://github.com/lxc/l xc • Network available through bridge, NAT or vpn tunnel
  • 9. Container Management • Some tools out there which are Open Source: o FOSVM o HyperVM o OpenVZ Web Panel
  • 10. Docker for LXC • Open Source engine which allows you to deploy multiple containers over LXC • Created by dotCloud • Popular between devs that run ubuntu • Not production ready • Downside is that requires AUFS/LXC (bad luck RHEL/CentOS)