Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gosu prevents running container as unprivileged user #72

Open
mtdcr opened this issue Nov 17, 2023 · 0 comments
Open

gosu prevents running container as unprivileged user #72

mtdcr opened this issue Nov 17, 2023 · 0 comments

Comments

@mtdcr
Copy link

mtdcr commented Nov 17, 2023

When running a container with a fixed unprivileged UID, gosu can not be executed. It would be really nice if gosu could be made optional, for example when a specific environment variable is present.

Currently, I set user: 12345678:12345678, userns_mode: host in docker-compose.yml and provide volumes for /var/www/html and /etc/dovecot/private where this UID may read/write in order to run an unprivileged container, but I need to remove gosu from the entrypoint to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant