HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Cgroups, namespaces, and beyond: what are containers made from?

Docker4 HN recommenders · recommended in 3 months, 2017-2023
YouTube
268K views · 10 years ago · talk · evergreen

Jérôme Petazzoni explains how Linux containers are built from kernel features like cgroups, namespaces and SELinux. He demonstrates putting the pieces together by hand to make a container and compares runtimes and approaches like jails and zones.

HN recommends it as a talk that makes containers click, showing that containerization is not virtualization and demystifying what Docker does.

Operating systems & kernelsCloud, DevOps & reliabilityLinux & open-source ecosystems#cgroups#namespaces#docker#containers#linuxkernel

5 comments from Hacker News

@dmpanch2023 · in “Build Your Own Docker with Linux Namespaces, Cgroups, and Chroot”

This topic is perfectly covered in a presentation by Jérôme Petazzoni from Dockercon 2015, a Docker developer, on how containerization works. After watching the video, I began to clearly understand that this is not virtualization at all, as many at first imagine. ▶ this video

Strongly recommendsView on HN
@Bayart2022 · in “We're migrating many of our servers from Linux to FreeBSD”

>There is controversy about Docker not running on FreeBSD but I believe (like many others) that FreeBSD has a more powerful tool. Jails are older and more mature - and by far - than any containerization solution on Linux. If FreeBSD jails and Solaris zones were equivalent to Linux containers, we'd have seen them take over the backend already. We haven't. They're really useful, they provided a degree of safety and peace of mind for multi-tenancy but they're not granular enough for what's done with $CONTAINER_RUNTIME these days. Jérôme Petazzoni has an old talk where he touches upon container primitives and compared them to jails : ▶ this video

CitesView on HN
@hardwaresofton2018 · in “A Workshop on Linux Containers: Rebuild Docker from Scratch”

In the same vein: Building a container from scratch in Go (Liz Rice) @ Container Camp 2016 -> link What's a container really let's write one in go from sctach (Liz Rice) @ Golang UK Conference -> link Cgroups, Namespaces and beyond: What are containers made from (Jerome Petazzoni) @ DockerCon 2015 - ▶ this video Building Containers in Pure Bash and C (Jessica Frazelle) @ ContainerSummit 2016: link First two are basically the same talk, but it doesn't hurt to hear the same ideas more than once.

RecommendsView on HN
@dominotw2017 · in “Demystifying container runtimes”

I watched this talk couple of years ago that made docker/containers finally click for me. Cgroups, namespaces, and beyond: what are containers made from? - Jérôme Petazzoni, ▶ this video

Strongly recommendsView on HN
@antoncohen2017 · in “Ask HN: Good resources on learning how docker works under the hood?”

Jérôme Petazzoni's talk on cgroups, namespaces, etc. I think he has given the talk a bunch of times, I saw it in person once, here is a video I found: ▶ this video He goes into cgroups, namespaces, etc. Then does a demo where is manually does what docker does, like untars an image, creates namespaces, creates the networking.

RecommendsView on HN
Containers From Scratch • Liz Rice • GOTO 201842:54

Containers From Scratch • Liz Rice • GOTO 2018

GOTO Conferences
321K views • 8 years ago
Container Hacks and Fun Images38:50

Container Hacks and Fun Images

Jessie Frazelle
40K views • 8 years ago
Golang UK Conf. 2016 - Liz Rice - What is a container, really? Let's write one in Go from scratch23:00

Golang UK Conf. 2016 - Liz Rice - What is a container, really? Let's write one in Go from scratch

GopherCon UK
33K views • 10 years ago
The future of Linux Containers5:22

The future of Linux Containers

dotcloudtv
138K views • 13 years ago
Run containers on bare metal already!41:12

Run containers on bare metal already!

Bryan Cantrill
40K views • 11 years ago
Bryan Cantrill on Jails and Solaris Zones1:45:47

Bryan Cantrill on Jails and Solaris Zones

PapersWeLove
34K views • 10 years ago
Containers and Steam: Putting games under pressure | FOSDEM 202020:11

Containers and Steam: Putting games under pressure | FOSDEM 2020

Collabora
13K views • 6 years ago
Linux for Chromebooks: Secure Development (Google I/O ’19)33:53

Linux for Chromebooks: Secure Development (Google I/O ’19)

Chrome for Developers
239K views • 7 years ago
illumos day 2014: The Dream is Alive! Running Linux containers on an illumos kernel1:44:56

illumos day 2014: The Dream is Alive! Running Linux containers on an illumos kernel

illumos
15K views • 12 years ago
The new Windows subsystem for Linux architecture: a deep dive - BRK306858:11

The new Windows subsystem for Linux architecture: a deep dive - BRK3068

Microsoft Developer
188K views • 7 years ago
The Cantrill Strikes Back | BSD Now 1172:13:32

The Cantrill Strikes Back | BSD Now 117

Jupiter Broadcasting
9K views • 10 years ago
Inside a Google data center5:28

Inside a Google data center

Google Workspace
22.6M views • 11 years ago
DebConf 14: QA with Linus Torvalds1:11:44

DebConf 14: QA with Linus Torvalds

Adnan Hodzic
737K views • 12 years ago
Porting KVM to SmartOS - Brian Cantrill, Joyent, KVM Forum 201140:34

Porting KVM to SmartOS - Brian Cantrill, Joyent, KVM Forum 2011

Red Hat
10K views • 15 years ago
Kubernetes: The Documentary [PART 1]24:55

Kubernetes: The Documentary [PART 1]

CultRepo
527K views • 4 years ago
[Linux.conf.au 2013] - The real story behind Wayland and X45:35

[Linux.conf.au 2013] - The real story behind Wayland and X

HackersOnBoard
35K views • 13 years ago
Linux Kernel Development, Greg Kroah-Hartman - Git Merge 201637:34

Linux Kernel Development, Greg Kroah-Hartman - Git Merge 2016

GitHub
72K views • 9 years ago
27c3 - Desktop on the Linux... (and BSD, of course) - Wolfgang Draxinger (+ Lennart Poettering)55:44

27c3 - Desktop on the Linux... (and BSD, of course) - Wolfgang Draxinger (+ Lennart Poettering)

SirPumpkin
39K views • 15 years ago
XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner49:16

XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner

Linux.conf.au 2012 -- Ballarat, Australia
29K views • 14 years ago
The real story behind Wayland and X45:35

The real story behind Wayland and X

Linux.conf.au 2013 -- Canberra, Australia
46K views • 11 years ago