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

Do not require s6 container to run as root #424

Open
ThiefMaster opened this issue Jun 17, 2024 · 0 comments
Open

Do not require s6 container to run as root #424

ThiefMaster opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ThiefMaster
Copy link

The classic containers work perfectly fine when running them as an unprivileged user (user: nobody:nobody or similar in the compose file).

However, in the s6 container this does not work out of the box, making /data a volume pointing to a directory owned and writable by that particular user fixes it, but the chown root:root ... calls for the secrets still fail (not a problem though).

It would be nice if those commands were skipped when not running as root.

I think it would make sense in any case to default to NOT running hbbs/hbbr as root, since they do not seem to need such privileges.

@ThiefMaster ThiefMaster added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant