The Route to Rootless Containers
summary
Cloud Foundry’s Garden implements rootless containers by running Garden as an unprivileged user, using OCI runC for namespace setup, pivot_root for filesystem isolation, and user namespaces to map a container root UID to an unprivileged host UID. GridFS handles image layering or emits an OCI mounts JSON so runC can perform overlayfs on Ubuntu. Remaining blockers: unprivileged cgroups, XFS quota work that needs a small setuid helper, and container-networking pieces; experimental rootless mode passes CF acceptance tests in a Bionic deployment.
AI-written summary · about
chapters (22)
- 0:00Introduction and setup
- 1:44Talk title and ground rules
- 2:28Container security concerns
- 3:30Cloud Foundry security problem
- 4:10What is a container
- 5:14Linux namespaces and cgroups
- 7:17Dropping capabilities and seccomp
- 8:44Defense in depth approach
- 10:07Dependency management with pivot root
- 11:12Layered file systems explained
- 12:38Role of runC in containers
- 13:59Introducing rootless containers
- 15:42User namespaces for unprivileged use
- 18:35UID and GID mapping details
- 19:40Challenges with cgroups
- 20:44Root filesystem management with grid FS
- 22:12Overlay FS and unprivileged mounting
- 23:13Current roadblocks to rootless
- 24:41Long-term strategy and community work
- 26:33Testing and deployment status
- 26:56How to try rootless mode
- 27:38Q&A session
related talks
32mThe Route To Rootless Containers
30mThe Route To Rootless Containers
19mHow Did Our Garden Grow? Advances in the Cloud Foundry App...
23mGarden Project Update
44mRootless containers
14mcontainerd: Rootless Containers 2020
31mTowards unprivileged container builds
32mRoot Without Risk: A Decade-Long Quest for True Container Isolation
