-
Notifications
You must be signed in to change notification settings - Fork 19
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
Permission fixer scripts #6
Comments
The relevant section from the s6-overlay's docs: Fixing ownership & permissionsSometimes it's interesting to fix ownership & permissions before proceeding because, for example, you have mounted/mapped a host folder inside your container. Our overlay provides a way to tackle this issue using files in
Here you have some working examples:
|
I think with the same PR, we should add some general mechanism for system initialization.
|
Something similar to: https://github.com/just-containers/s6-overlay#fixing-ownership--permissions
Usually when you start a docker container, you want to fix permissions on the volumes (so needs to happen at runtime and not build time). Without this feature, you would need to create a service which runs and won't be restarted, which is a bit ugly because services are long running processes and one shot services are not suitable for being supervised.
The idea is to provide a format similar to s6-overlay's.
This is suitable if you want to avoid spawning another process and thus makes faster startups.
The text was updated successfully, but these errors were encountered: