~/talk

Containers unplugged: understanding user namespaces

Talkat NDC TechTown 2019 · 2019-09-02..09-05· [security, devops-and-delivery]
slides:none on file

Explains that user namespaces let a process be UID 0 inside a namespace while remaining an unprivileged UID outside, with 38 capabilities split into fine-grained rights; shows concrete commands (example: unshare -u -r to create a user namespace with automatic root mappings) and the exact UID/GID mapping format (for example 0->1000). Demonstrates that being “root” inside only grants power over resources owned by that namespace (cannot bind <1024 if the network namespace is owned elsewhere), includes a small Go tool to draw namespace hierarchies and live shell demos.

AI-written summary · about

  1. 0:00Start
  2. 4:21Capabilities
  3. 6:54Namespaces Provide Isolation
  4. 7:46User Name Spaces
  5. 12:43Route Mapping
  6. 17:31User Namespaces and Capabilities
  7. 24:49Bash Shell
  8. 32:57Fake Root
  9. 34:52Fire Jail and Flat-Pack
  10. 42:02When Does a Process Have Capabilities inside a Namespace
  11. 42:52When Does the Process Have Capabilities in a User Name Space
~/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.