Cgroups, namespaces, and beyond: what are containers made from?
Cgroups, namespaces, and beyond: what are containers made from? on HackerTube: recommended by 4 Hacker News commenters across 3 separate months, 2017–2023.
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.
What HN commenters said
5 Hacker News comments link this video. Each one links back to its thread.
dmpanchJun 2023Strongly recommends
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
in “Build Your Own Docker with Linux Namespaces, Cgroups, and Chroot” · View on HN
dominotwDec 2017Strongly recommends
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
in “Demystifying container runtimes” · View on HN
hardwaresoftonApr 2018Recommends
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.
in “A Workshop on Linux Containers: Rebuild Docker from Scratch” · View on HN
antoncohenDec 2017Recommends
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.
in “Ask HN: Good resources on learning how docker works under the hood?” · View on HN
BayartJan 2022Cites it
>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
in “We're migrating many of our servers from Linux to FreeBSD” · View on HN