~/talk

Linux containers in (less than) 100 lines of shell

Talkat NDC Security 2025 · 2025-01-20..01-23· [security, linux-and-operating-systems]
slides:none on file

Claims a usable Docker‑like container can be built with less than 100 lines of shell using only standard tools. Shows exact commands: unshare, mount/pivot_root, overlayfs for stacked root, BusyBox as the single binary userland, uid/gid maps for an inner root, and cgroups to cap CPU (demo sets ~50%). Delivers scripts that create rootfs, launch namespaces, run init as PID 1, and nearly runs a container‑in‑container.

AI-written summary · about

  1. 0:00Linux containers in shell
  2. 1:14OverlayFS container filesystem
  3. 12:53Process isolation with namespaces
  4. 19:55Resource limits with cgroups
  5. 23:06Launch container with unshare
  6. 31:43Container init process
  7. 38:08Live container demo
  8. 52:14Superuser in container
  9. 1:06:34Nested containers demo
  10. 1:14:54Q&A
~/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.