~/talk

Containers – A Look Under the Hood

links:none on file
slides:none on file

Explains exactly which Linux kernel features make containers work and how to build one step‑by‑step using only standard tools: uses unshare / nsenter to create UTS PID IPC mount and network namespaces, creates a veth pair bridge to connect the container network, mounts a 50MB tmpfs and does pivot_root to tmpfs for a minimal root filesystem, demonstrates PID=1 semantics (zombie reaping, signals), shows persistent namespaces via bind mounting, and inspects capabilities from /proc to map to Docker flags like --pid, --network, --cap-add; the example succeeds.

AI-written summary · about

  1. 0:00Start
  2. 1:23Conventional Unix Approach
  3. 3:45The Containerized Approach
  4. 10:11Proc File System
  5. 12:39Closer Look at Namespaces
  6. 17:53Start a Containerized Process via Docker
  7. 25:26Uts Namespace for Hostname Isolation
  8. 27:33Build a New Container
  9. 31:33Ipc Namespace
  10. 55:58Mount Namespace
  11. 1:09:05Influence the Root Directory for a Particular Process
  12. 1:12:52Change Root Command
  13. 1:22:36Bind Mounting
  14. 1:24:10Traditional Unix Privilege Scheme
~/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.