The sealed box and what is packed inside it. This lesson runs the whole box, then compares it with the real one.
Before you start. Lessons Container 01: Fork and Exec to Container 06: A Network Namespace and a Virtual Cable built six walls one at a time: a child process, a private hostname and process list, a new root file system, a private /proc and /dev, a memory and process ceiling, and a private network. This lesson puts them behind one command and then measures what is still missing. You need the Alpine folder and the privileged shell from Build Your Own Container Runtime.
Lesson 101 of 117 in From Scratch
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
Or start free: a free account opens lessons 2 and 3 of every track.
In this lesson
18 October 2026: 41 powers against 14
Seven stages, one command
The order inside the child
What is missing, and what Docker adds
What the real thing looks like
Terms it explains: capability, Capabilities dropped, User namespace, real root, Seccomp filter, Masked `/proc` paths, Images and layers, A bridge and NAT, A supervisor, `parseConfig`, `childArgs`, `run`, `child`, The tests, Changes to try, image.