Slide 16
Slide 16 text
a rough sketch
Node
DaemonSet
workspace
container
ring0
ring1
mount($mark, "/newroot/", "shiftfs")
mount("proc", "/newroot/proc", "proc")
…
PID 1
PID 2
mount($containerRootFS, "shiftfs", "mark")
User Namespace
writeMapping(pid: 2)
prepareUserNS()
hostPID := translatePID(pid: 2)
write(/proc/$hostPID/uid_map)
write(/proc/$hostPID/gid_map)
How can we make it work?
ring2 PID 3
PID Namespace 16