Rootless containers with Podman
summary
Deploys Home Assistant and Mosquitto containers rootless with Podman 2.x + slirp4netns, using subuid/subgid mappings and mapped host volumes with SELinux labels, and exposes them via systemd service units. Initial tests hit Podman/RHEL 8.1 memory and cleanup bugs but RHEL 8.2 fixes make the setup stable. Containers can run with the host process owned by an unprivileged user while services inside run as non-root where possible. Notes include Buildah for non-root image builds and CRI-O context for Kubernetes.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:52Container Standards: Runtime interfaces
- 4:01Why rootless containers?
- 6:15Why Should I Care?
- 8:26Be the customer
- 9:59Rootless Options
- 11:33Rootless Requirements
- 13:15Hass container
- 14:13MQTT
- 15:14Good/Bad/Frustrating
- 17:37References
related talks
19mRootless containers with Podman
40mRootless Containers with Podman
39mPodman - create, run and secure Linux containers
35mThe Reality of Rootless Containers
44mRootless containers
39mReplacing Docker with Podman
38mUnderstanding root inside and outside a container
53mContainers without Daemons - Podman Internals
