You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the delegate flag, file sharing with Docker is quite fast.
It would be great to have a minimal image that just needs nix to be installed on macos, and then it pulls it the linux dependencies, runs the image with -v /nix:/nix:delegate and then everything is cached.
The text was updated successfully, but these errors were encountered:
This would require overlayfs otherwise this is possible with any image if nix installed on the docker host. I use the following alias with DOCKER_HOST pointing to my desktop.
If you want to do the same thing without nix on the docker host (eg. Docker.app) it needs a writable store since builds can't go through the nix-daemon and you'd need to configure a profile with a linux binaries on your mac because everything in the image is shadowed by the mount.
Using the
delegate
flag, file sharing with Docker is quite fast.It would be great to have a minimal image that just needs nix to be installed on macos, and then it pulls it the linux dependencies, runs the image with
-v /nix:/nix:delegate
and then everything is cached.The text was updated successfully, but these errors were encountered: