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
PPT
An overview of OpenVZ virtualization technology
PDF
Kонтейнерная виртуализация в продуктах parallels прошлое, настоящее и будущее.
PDF
Fundamental Virtualisasi di openSUSE
PPTX
Containers in the Cloud
PDF
Understand docker
PDF
Lxc- Introduction
PPT
Linux Virtualization
Openvz - a quick introduction
An overview of OpenVZ virtualization technology
Kонтейнерная виртуализация в продуктах parallels прошлое, настоящее и будущее.
Fundamental Virtualisasi di openSUSE
Containers in the Cloud
Understand docker
Lxc- Introduction
Linux Virtualization

What's hot (20)

PPTX
Containers and Cloud: From LXC to Docker to Kubernetes
ODP
OpenVZ, Virtuozzo and Docker
ODP
Openvz booth
PDF
XS Boston 2008 Quantitative
PDF
Understanding LXC & Docker
PPTX
PDF
Leverage LXC/LXD with Kubernetes
PDF
Linux Containers & Docker
PPTX
Performance comparison between Linux Containers and Virtual Machines
PDF
OpenVZ Linux Containers
PDF
Libcontainer: joining forces under one roof
PDF
Linux Container Technology 101
PPTX
Docker Security and Orchestration for DevSecOps wins
PPTX
Introduction to linux containers
PDF
LXD: The hypervisor that isn't
PPTX
Kubernetes
PDF
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
PDF
Docker. General overview
PDF
Container orchestration
Containers and Cloud: From LXC to Docker to Kubernetes
OpenVZ, Virtuozzo and Docker
Openvz booth
XS Boston 2008 Quantitative
Understanding LXC & Docker
Leverage LXC/LXD with Kubernetes
Linux Containers & Docker
Performance comparison between Linux Containers and Virtual Machines
OpenVZ Linux Containers
Libcontainer: joining forces under one roof
Linux Container Technology 101
Docker Security and Orchestration for DevSecOps wins
Introduction to linux containers
LXD: The hypervisor that isn't
Kubernetes
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Docker. General overview
Container orchestration
Ad

Viewers also liked (17)

PPTX
Dockerin10mins
PPT
File system
PPTX
Types of application program
PDF
Containers & Cloud
PDF
Operating system structures
PDF
Function in C
PPTX
Function in C program
PPTX
Types of Operating System
PPTX
types of operating system
PPTX
Jfokus 2017 Oracle Dev Cloud and Containers
PPTX
Operating system and its function
PPTX
Types of operating system
PPTX
Operating Systems
PPT
Operating system.ppt (1)
PPT
Presentation on operating system
PPTX
Operating system overview concepts ppt
PDF
LinkedIn SlideShare: Knowledge, Well-Presented
Dockerin10mins
File system
Types of application program
Containers & Cloud
Operating system structures
Function in C
Function in C program
Types of Operating System
types of operating system
Jfokus 2017 Oracle Dev Cloud and Containers
Operating system and its function
Types of operating system
Operating Systems
Operating system.ppt (1)
Presentation on operating system
Operating system overview concepts ppt
LinkedIn SlideShare: Knowledge, Well-Presented
Ad

Similar to Containers - Cloud Phoenix March Meetup (20)

PDF
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
PDF
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
PDF
Woc15
PPTX
Virtual machines and containers
PDF
Revolutionizing the cloud with container virtualization
PDF
Lightweight Virtualization in Linux
PDF
Drupalcamp es 2013 drupal with lxc docker and vagrant
PDF
Linux container & docker
PDF
LXC, Docker, and the future of software delivery | LinuxCon 2013
PDF
LXC Docker and the Future of Software Delivery
PDF
Let's Containerize New York with Docker!
PDF
Docker from basics to orchestration (PHPConfBr2015)
PDF
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
PDF
Lxc- Linux Containers
PPT
Develop with linux containers and docker
PPTX
Containerization & Docker - Under the Hood
PPT
2 Linux Container and Docker
PDF
Containing the world with Docker
PDF
Evolution of containers to kubernetes
PDF
Automate drupal deployments with linux containers, docker and vagrant
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Woc15
Virtual machines and containers
Revolutionizing the cloud with container virtualization
Lightweight Virtualization in Linux
Drupalcamp es 2013 drupal with lxc docker and vagrant
Linux container & docker
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC Docker and the Future of Software Delivery
Let's Containerize New York with Docker!
Docker from basics to orchestration (PHPConfBr2015)
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
Lxc- Linux Containers
Develop with linux containers and docker
Containerization & Docker - Under the Hood
2 Linux Container and Docker
Containing the world with Docker
Evolution of containers to kubernetes
Automate drupal deployments with linux containers, docker and vagrant

More from Miguel Zuniga (11)

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

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Cloud computing and distributed systems.
PPTX
A Presentation on Artificial Intelligence
PDF
Electronic commerce courselecture one. Pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf
Machine learning based COVID-19 study performance prediction
Cloud computing and distributed systems.
A Presentation on Artificial Intelligence
Electronic commerce courselecture one. Pdf
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
The Rise and Fall of 3GPP – Time for a Sabbatical?
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Review of recent advances in non-invasive hemoglobin estimation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

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)