bluehambrgr

joined 1 month ago
[–] bluehambrgr@lemmy.world 2 points 3 days 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).