~/talk

Containers are Linux - but what does it mean?

Talkat DevConf.CZ 2021 · 2021-02-18..02-20· [linux-and-operating-systems]
links:none on file
links:none on file
slides:none on file

Shows how to run a real container using only Linux primitives: chroot + unshare + mount, plus mounting /proc and using bind mounts. Demonstrates running python -m http.server from a fedora tar rootfs, then exposes problems (can see and kill host processes until a new PID namespace gives PID 1). Walks through UTS hostname isolation, creating a PID namespace with unshare -b -f and remounting /proc, and limiting memory by creating /sys/fs/cgroup/memory/defconf and writing memory.limit_in_bytes and tasks.

AI-written summary · about

  1. 0:00Start
  2. 0:58extract the archive
  3. 7:58run a container
  4. 11:14run a very simple http server
  5. 15:26kill system processes from the container
  6. 18:37isolate hostname of the machine
  7. 22:40enter already existing namespaces
~/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.