Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 13 · From Scratch · Container Runtime · with code: Go · about 12 min to read

Play it as a journeyTutor comes with a plan

Container 07: Everything

The Shipping Container
The Shipping Container · Open board

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.

See plansAlready a member? Sign in

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.

Related paper

Review From Scratch