Hacker News new | past | comments | ask | show | jobs | submit login

we could bind mount over /nix or /nix/store, but that means any existing nix packages from the container would not be available. The whole point is to have the whole container file system available along with the utilities. We could alternatively find each package that we need for our debugging utilities and bind mount each directory from the store individually. This would work due to unique paths in the store, but that means potentially hundreds of bind mounts and is an orchestration nightmare.



Sorry, I didn't mean bind mount, I mean union mount, like with OverlayFS or whatever the most-used one is.


we didn't look at using overlay. Might be possible, although that would introduce a dependency on kernel version and/or module. A custom fuse might be an option here as well but fuse in containers is a bit sketchy at the moment.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: