Show HN: Nix Snapshotter – Native understanding of Nix packages for containerd https://ift.tt/yV2CiTp

Show HN: Nix Snapshotter – Native understanding of Nix packages for containerd Hello! This is Edgar and Robbie and we built nix-snapshotter. nix-snapshotter brings native understanding of Nix packages to containerd. We built this because Nix is a great fit for making efficient containers. They don'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. 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. 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. We'd love for you to try it out, there is a one-liner for Nix users to boot a VM with everything pre-configured: https://ift.tt/h3bYTQ9 https://ift.tt/h3bYTQ9 September 6, 2023 at 07:54PM

Post a Comment

0 Comments