-
Notifications
You must be signed in to change notification settings - Fork 8
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
Write a tutorial #9
Comments
Are there any other resources than the following? I've read the README and produced a |
I've also looked at NixOS/nixpkgs#32248 but still missing something fundamental I think. |
@paulyoung what are you lost on? Also, if you're on a newer version of Nix, there was a lot of work done to upgrade the stock dockerTools to support V2 registries: https://nixos.org/nixpkgs/manual/#ssec-pkgs-dockerTools-fetchFromRegistry. Though, I don't know if that works with credential protected private registeries (hocker will, however). |
I'm trying to depend on something that invokes I've done the equivalent of |
Ah okay. Next you need to load it into a running docker daemon instance by:
|
We do that as part of the
(very roughly) |
Very helpful. Thanks. |
Note, to avoid running
|
@paulyoung no problem! |
For posterity, I'm now running into this and gather that there's a Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? |
@paulyoung correct. You need to download the official Docker app for MacOS which includes tooling to run the docker daemon in a VM (but it makes it transparent to the |
Success :) Thanks Parnell! |
@paulyoung no problem! |
I don't mean to hijack this thread but figured it might help someone else if all of this was in the same place. Apparently there is a Nix sandbox restriction that prevents access to the docker daemon, resulting in Is there a recommended way to address this? |
Investigating |
This has also been suggested: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/docker-preloader.nix |
Specifically |
No description provided.
The text was updated successfully, but these errors were encountered: