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

Introduce CHOWN_FILES_ON_STARTUP env var, which defaults to 1 but can be disabled #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaddieM4
Copy link
Contributor

I have a use case where it makes perfect sense to mount a read-only filesystem, as-is, and make no changes to ownership at the start of the container. I didn't want to change default behavior for everybody else, though! So I added an environment variable which allows for chowning to be an optional - but default - behavior. Anyone who needs to turn chowning off, they can.

@handgull
Copy link

This feature would be very useful for me too!

@handgull
Copy link

handgull commented Nov 27, 2024

Actually in my use case i have solved this issue adding :ro to the docker volume!

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

Successfully merging this pull request may close these issues.

2 participants