bluehambrgr

joined 1 month ago
[–] bluehambrgr@lemmy.world 3 points 13 hours ago (1 children)

It’s not exactly what you’re looking for, but as an intermediate option, you may want to look into docker user namespaces.

https://docs.docker.com/engine/security/userns-remap/

It effectively transforms the containers’ root user into a non-root user outside the container (e.g. for filesystem accesses).