~/talk

Rootful networking with rootless podman containers

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [networking]
slides:none on file

Shows how to run rootless containers but give them real host networking by combining user namespaces, explicit uid mappings and manual network setup. Uses podman 4.5 --uidmap when possible, otherwise creates a veth pair and names the container netns, or pipes a hand-crafted netavac JSON into netavac to attach a rootful bridge and publish ports. Delivers scripts and a systemd unit that work end-to-end (container serves HTTP), but podman inspect misses the network, systemd notifications break, and the undocumented JSON format is fragile.

AI-written summary · about

  1. 0:00Introduction
  2. 3:37Rootless containers security
  3. 5:21Rootful networking motivation
  4. 6:03User namespaces UID mapping
  5. 7:27Networking in namespaces
  6. 8:31UID mapping attempts
  7. 10:14Manual network setup
  8. 13:05Netavark for networks
  9. 15:11Live demo rootless networking
  10. 23:39Automating with systemd
  11. 24:43Limitations and future
  12. 25:23Summary
  13. 25:57Q&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.