Hacker News new | ask | show | jobs
by haberman 1750 days ago
I've run into this too. My solution was to add some code in entrypoint.sh that looks for the UID/GID of mounted files, then creates a group and user to match. We can then exec the real command as that user.