pdtpartners / nix-snapshotter

Brings native understanding of Nix packages to containerd
MIT License
578 stars 15 forks source link

Preparing for public release #5

Open elpdt852 opened 1 year ago

elpdt852 commented 1 year ago

We should update this as we think more things to do:

rbpdt commented 1 year ago
rbpdt commented 1 year ago
brotherdust commented 1 year ago

This software is brilliant and could not have come at a better time! I will put it to good use. Thank you kindly!

elpdt852 commented 8 months ago

Created upstream PR to nixpkgs to package nix-snapshotter: https://github.com/NixOS/nixpkgs/pull/289682

steveej commented 4 months ago

@elpdt852

* [ ]  Docs on usage with containerd standalone

i imagine i'm missing a setup setup here, would be nice to get documented whatever is missing in this case:

$ sudo -E nerdctl --snapshotter=nix run --privileged --rm "nix:0$(nix build --impure .#image --print-out-paths):latest"
INFO[0000] trying next host                              error="failed to do request: Head \"https://nix:0/v2/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar/manifests/latest\": dial tcp: lookup nix: no such host" host="nix:0"
FATA[0000] failed to resolve reference "nix:0/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar:latest": failed to do request: Head "https://nix:0/v2/nix/store/a0f150y8p4gbfm0aldap3nyp9ca4hfb5-nix-image-mycelium.tar/manifests/latest": dial tcp: lookup nix: no such host