As for the early privilege drop, that's a whole th...
# openvox
m
As for the early privilege drop, that's a whole thing I've been waffling over recently. Stuff like postgres and mysql's images do what you're talking about. They start as root and chown bind-mounted volumes, then set privileges down to the unpriviledged user before execing the real process. But there's a security concern if someone mounts a custom entrypoint script. Like, that's the whole pitch behind podman, is you can avoid that entirely if you wish.