SlideShare a Scribd company logo
How Docker didn't invent containers
Docker Meetup Brno #1
Pavel Šnajdr
vpsFree.cz
Contents
Containers vs. Hypervisors
History of CT tech
OpenVZ
Containers in vanilla kernel
Managing containers
How Docker fits in the picture
Conclusions
whoami
● vpsFree.cz
● Container based VPS community/provider
● Founder, admin, base OS dev/QA
● Now full-time
● Formerly Relbit CTO
● Working with containers in prod since 2009
Hypervisors
HW
Hypervisor
Kernel Kernel Kernel Kernel
Init
Libraries
Apps
Init
Libraries
Apps
Init
Libraries
Apps
Init
Libraries
Apps
OS Containers
HW
Kernel
Init
Libraries
Apps
Init
Libraries
Apps
Init
Libraries
Apps
Init
Libraries
Apps
Application containers
HW
Kernel
Libraries
App
Libraries
App
Libraries
App
Libraries
App
Application containers
HW
Kernel
Libraries
App App App App
1998: FreeBSD Jails
● FreeBSD 4.0
● Resource management very limited
● Origins: a small webhosting company
2001: SWSoft Virtuozzo 2.0
● Started in 1999
● Groups of processes with namespace isolation
● FS to share code and save RAM
● Resources management
● SWSoft -> Parallels
● Also in 2001 linux-vserver
● Mostly one-man show
2004
● Solaris Containers released (“Zones”)
● Virtuozzo for Windows
● Live kernel patching
2005
● OpenVZ project
● Namespaces (PID, mnt, UTS, net, IPC)
● UBC
● vzquota
● vzctl
● Goal set to upstream containers
(“better late than never”)
2006
● OpenVZ live migration
● Rebase to RHEL4 kernel
2007
● IBM AIX WPARs, HP-UX SRP containers
● OpenVZ rebase to RHEL5
● Also 2.6.20 port
● cgroups upstreamed (Google & IBM)
2008
● OpenVZ namespaces upstreaming
● PID, net, IPC, UTS, mnt
● LXC
2010
● OpenVZ
● Rebase to RHEL6 kernel
● VSwap (simplified UBC)
● ploop (CT-in-a-file)
● on-demand allocation
● instant snapshots
● online resize, compact, merge
● write tracker
2011
● CRIU proposed
● Checkpoint: get stuff from /proc debug fac.
● Restore: read dump & recreate environment
● LinuxCon 2011 Prague
● “There can be only one”
... container tech in vanilla
● Avoid Xen vs. KVM mess
2012
● CRIU 0.1 released
● vzctl 4.0 with support for upstream kernel
2013
● Docker
● lmctfy
● CoreOS
● vzctl adds IO limits
● user namespace in vanilla
2014
● vzctl 4.8, faster live migration
● Parallels announce PCS and OpenVZ to merge
into common open-source code-base
2015
● OpenVZ RHEL7 kernel beta
● CRIU for migration
● cgroups replacing UBC
● vzctl not compatible yet
● public Git repo
http://src.openvz.org/
OpenVZ and Docker
● Docker inside
https://openvz.org/Docker_inside_CT
● Docker outside
https://github.com/docker/libcontainer/pull/434
● Docker and CRIU
● work in progress
Containers in vanilla kernel
● Any of (cgroups + namespaces) = container
● Cgroups (blkio, cpu, cpuacct, cpuset, devices,
freezer, ns)
● Namespaces (user, net, PID, UTS, mnt, IPC)
Container management tools
● LXC
● LXD
● Docker
● libvirt-lxc
● systemd-nspawn
● vzctl
● lmctfy
● libct
https://github.com/xemul/libct
● “Libvirt for containers”
Docker and containers
Conclusions
● Containers != Docker
● Docker = single (very) limited way of using
container tech for apps deployment
● Reinvent the wheel approach... (PID #1, logs...)
● Most mature container tech = OpenVZ
● Best isolation (eg. Kmem)
● Most features
● Do you actually want Docker or containers?
Q/A
● Questions?
Anytime -> snajpa@snajpa.net

More Related Content

PDF
Docker. General overview
ODP
What's missing from upstream kernel containers?
ODP
Not so brief history of Linux Containers
PDF
Scaling Docker Registry
PDF
Docker off the grid
PDF
Docker Introduction - DevOps Montreal Meetup
PDF
Containerd Project Update: FOSDEM 2018
PDF
Upstate DevOps - Containers 101 - March 28, 2019
Docker. General overview
What's missing from upstream kernel containers?
Not so brief history of Linux Containers
Scaling Docker Registry
Docker off the grid
Docker Introduction - DevOps Montreal Meetup
Containerd Project Update: FOSDEM 2018
Upstate DevOps - Containers 101 - March 28, 2019

What's hot (17)

PDF
Libcontainer: joining forces under one roof
PDF
An Open Source Story: Open Containers & Open Communities
PDF
[KubeCon NA 2020] containerd: Rootless Containers 2020
PDF
[KubeCon EU 2020] containerd Deep Dive
PPTX
Containerd internals: building a core container runtime
PDF
Red Hat Container Development Kit
PDF
Rootless Containers & Unresolved issues
PDF
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
PPTX
Notary - container signing
PDF
Rkt Container Engine
PDF
[FOSDEM 2020] Lazy distribution of container images
PDF
Linux Containers & Docker
PDF
Docker-Vancouver Meetup - March 18, 2014 - An Introduction to Docker
PDF
Automated testing with Openshift
PDF
Make Accelerator Pluggable for Container Engine
ODP
The automated tests inside Openshift
PPTX
Datacenter Airlift - "Docker and the world of “containerized" environments"
Libcontainer: joining forces under one roof
An Open Source Story: Open Containers & Open Communities
[KubeCon NA 2020] containerd: Rootless Containers 2020
[KubeCon EU 2020] containerd Deep Dive
Containerd internals: building a core container runtime
Red Hat Container Development Kit
Rootless Containers & Unresolved issues
[Paris Container Day 2021] nerdctl: yet another Docker & Docker Compose imple...
Notary - container signing
Rkt Container Engine
[FOSDEM 2020] Lazy distribution of container images
Linux Containers & Docker
Docker-Vancouver Meetup - March 18, 2014 - An Introduction to Docker
Automated testing with Openshift
Make Accelerator Pluggable for Container Engine
The automated tests inside Openshift
Datacenter Airlift - "Docker and the world of “containerized" environments"
Ad

Viewers also liked (12)

DOCX
làm sao trị bệnh giảm ham muốn tình dục hiệu quả nhất
PDF
Qatar Airways Magazine
PPTX
информационные процессы
PPTX
Invest in Mythica 4
PDF
Biomes all over the World
PDF
Study of Extreme Weather Events (hot & cold day or wave) over Bihar Region
PPTX
Top 8 testing engineer resume samples
PPTX
Pahala pendorong amalan kebaikan
PDF
The Superyacht Annual Report 2014
PPTX
Patel Neotown-price-reviews-construction update
PPTX
Basic practice of R
PDF
Individual Accountability Brochure 2016
làm sao trị bệnh giảm ham muốn tình dục hiệu quả nhất
Qatar Airways Magazine
информационные процессы
Invest in Mythica 4
Biomes all over the World
Study of Extreme Weather Events (hot & cold day or wave) over Bihar Region
Top 8 testing engineer resume samples
Pahala pendorong amalan kebaikan
The Superyacht Annual Report 2014
Patel Neotown-price-reviews-construction update
Basic practice of R
Individual Accountability Brochure 2016
Ad

Similar to How Docker didn't invent containers (Docker Meetup Brno #1) (20)

PDF
Docker London Meetup: Docker Engine Evolution
PDF
Docker based-Pipelines with Codefresh
PDF
Docker integration
PDF
Docker+java
PDF
Introduction to Docker, December 2014 "Tour de France" Edition
PDF
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
PDF
Docker handons-workshop-for-charity
PDF
Docker for developers
PDF
Docker Fundamentals
PPTX
Containers without docker
PDF
JOSA TechTalk: Introduction to docker
PDF
Container Runtimes: Comparing and Contrasting Today's Engines
PDF
An Introduction to Kubernetes
ODP
OpenVZ, Virtuozzo and Docker
PPTX
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
PPTX
Containers - Cloud Phoenix March Meetup
PDF
A Gentle Introduction to Docker and Containers
PDF
HLayer / Docker and its ecosystem
PDF
Developer workflow with docker
PDF
LXC, Docker, and the future of software delivery | LinuxCon 2013
Docker London Meetup: Docker Engine Evolution
Docker based-Pipelines with Codefresh
Docker integration
Docker+java
Introduction to Docker, December 2014 "Tour de France" Edition
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Docker handons-workshop-for-charity
Docker for developers
Docker Fundamentals
Containers without docker
JOSA TechTalk: Introduction to docker
Container Runtimes: Comparing and Contrasting Today's Engines
An Introduction to Kubernetes
OpenVZ, Virtuozzo and Docker
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
Containers - Cloud Phoenix March Meetup
A Gentle Introduction to Docker and Containers
HLayer / Docker and its ecosystem
Developer workflow with docker
LXC, Docker, and the future of software delivery | LinuxCon 2013

Recently uploaded (20)

PDF
AI in Product Development-omnex systems
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Digital Strategies for Manufacturing Companies
PPTX
ai tools demonstartion for schools and inter college
PPT
Introduction Database Management System for Course Database
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Online Work Permit System for Fast Permit Processing
PPTX
Transform Your Business with a Software ERP System
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
medical staffing services at VALiNTRY
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
L1 - Introduction to python Backend.pptx
AI in Product Development-omnex systems
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Odoo Companies in India – Driving Business Transformation.pdf
top salesforce developer skills in 2025.pdf
Upgrade and Innovation Strategies for SAP ERP Customers
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Nekopoi APK 2025 free lastest update
Digital Strategies for Manufacturing Companies
ai tools demonstartion for schools and inter college
Introduction Database Management System for Course Database
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Online Work Permit System for Fast Permit Processing
Transform Your Business with a Software ERP System
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
medical staffing services at VALiNTRY
2025 Textile ERP Trends: SAP, Odoo & Oracle
Operating system designcfffgfgggggggvggggggggg
ManageIQ - Sprint 268 Review - Slide Deck
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
L1 - Introduction to python Backend.pptx

How Docker didn't invent containers (Docker Meetup Brno #1)