Wednesday, September 6, 2023

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

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/B8LKypr https://ift.tt/B8LKypr September 6, 2023 at 10:24PM

No comments:

Post a Comment

Show HN: My mom was unimpressed with my blog. What do you think? https://ift.tt/rfEGYeQ

Show HN: My mom was unimpressed with my blog. What do you think? I recently launched my personal tech blog and proudly showed it to my mom. ...