-
Notifications
You must be signed in to change notification settings - Fork 41
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
Support readonly root filesystem #2078
Comments
@rarkins There is one more issue! |
It cannot be stopped?? |
not i'm aware of. i'm now redirecting home to We need to think about the existing data at |
I think we need to split installs again. So when running as root and it's a docker build, then install tools to some other persistent path. I would add a new
@rarkins WDYT? Can you follow me? |
I'm not sure I fully follow, but I guess you mean that when the user mounts a volume to /opt/containerbase then anything we've put there prior is lost. So you're planning to put it in another location and symlink it over whenever the container runs? |
Yes, that's the core idea. When later running |
Would it be a viable alternative to allow the user to configure the containerbase rw location via env variable? If configured then the restore happens from /opt/containerbase otherwise /opt/containerbase is used? Or is it too hard to set up PATH etc? |
we can't ensure path then. a user would need to explicit set it 😞 |
- Closes #2078 BREAKING CHANGE: User files and folders are now symlinked from `/tmp/containerbase/cache` to `/home/ubuntu`.
- Closes #2078 BREAKING CHANGE: User files and folders are now symlinked from `/tmp/containerbase/cache` to `/home/ubuntu`.
- Closes #2078 BREAKING CHANGE: User files and folders are now symlinked from `/tmp/containerbase/cache` to `/home/ubuntu`.
general
/usr/local/bin
is symlinked to/opt/containerbase/bin
/usr/local/lib
is symlinked to/opt/containerbase/lib
/var/lib/containerbase
/tmp/containerbase
/tmp/containerbase/cache
(eg.cache
,.npmrc
,.npm
)binarySource=global
/tmp
writablebinarySource=install
/tmp
writable/opt/containerbase
writablerelated issues
The text was updated successfully, but these errors were encountered: