Title: Hello! This is Edgar and Robbie and we built nix-snapshotter. nix-snapshotter brings native understanding of Nix packages to containerd.<p>We built this because Nix is a great fit for making efficient containers. They don&#x27;t need an OS because Nix captures all dependencies exactly. However, the current process of creating Nix images is subpar because one needs to transform Nix packages into a format that container runtimes understand.<p>Using nix-snapshotter, instead of downloading image layers, packages come directly from the Nix store. Packages can be fetched from a binary cache or built on the fly if necessary. All existing non-Nix images continue to be supported, and Nix layers can be interleaved with normal layers.<p>nix-snapshotter also provides a CRI image service, which allows Kubernetes to resolve image manifests from Nix directly too. This enables for the first time, fully declarative Kubernetes resources, all the way down to the image specification and its contents. With this, you can even run pure Nix images without a Docker Registry at all, if you wish.<p>We&#x27;d love for you to try it out, there is a one-liner for Nix users to boot a VM with everything pre-configured: <a href="https:&#x2F;&#x2F;github.com&#x2F;pdtpartners&#x2F;nix-snapshotter">https:&#x2F;&#x2F;github.com&#x2F;pdtpartners&#x2F;nix-snapshotter</a>
Upvote: