Golang UK Conf. 2016 - Liz Rice - What is a container, really? Let's write one in Go from scratch
3 人推荐 · 跨 5 个月 · 2016–2019

中文导读
Liz Rice 仅用约 100 行 Go 代码现场从零手写容器运行时,向大家证明容器根本不是什么“轻量级虚拟机”,而是 Linux 内核命名空间(namespaces)与控制组(cgroups)等特性的精妙组合。
为什么 HN 推它
祛除 Docker 抽象光环、理解容器底层运转原理的最佳技术演讲,HN 后端与系统工程师必看的内功课。
「他们这种手把手从零写容器的分享,讲得真的非常透彻、极具启发性。」HN 网友原话:have given talks on how to make containers from scratch that are very illuminating
英文原摘要(HackerTube / Claude 整理)
Liz Rice builds a container from scratch in about 100 lines of Go, showing that a container is not a lightweight VM but a set of Linux kernel features and flags.
HN recommends it as an accessible way to remove the magic from Docker and understand how containers work.
HN 上的提及
I recommend this accessible presentation on how to write a poor-mans Docker by hand[1] to remove some of the magic behind containers.
I started by watching and reading
There's also this one, which is similar
First two are basically the same talk, but it doesn't hurt to hear the same ideas more than once.
A few people, notably Liz Rice and Jessie Frazelle have given talks on how to make containers from scratch that are very illuminating