~/talk

What is a container, really? Let's write one in Go from scratch

slides:none on file

Claims a real container is just a process with isolated views of the system and builds one live in ~100 lines of Go. Code runs on Linux, uses clone flags to create new PID namespace and a new UTS/hostname namespace, fork‑execs itself to produce PID 1, mounts a separate root filesystem and /proc so ps shows only container processes, and leaves cgroups for resource limits. The demo completes in about 20 minutes on a VM and produces a working, minimal container.

AI-written summary · about

  1. 0:00Introduction
  2. 2:05Running containers
  3. 3:45Coding
  4. 7:40Executing
  5. 8:45Name spacing
  6. 10:35Process IDs
  7. 11:25Printing Process IDs
  8. 13:55Running inside a container
  9. 14:50Creating a new file system
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.