Back to News
Advertisement
aatmask about 2 hours ago 0 commentsRead Article on containix.dev

DE version is available. Content is displayed in original English for accuracy.

Containix is a containerd shim that runs Nix flakes directly as Kubernetes pods. When using containix you can reference a flake in a pod annotation (`containix.dev/flake: <flake ref>`) instead of building, pushing, and pulling an OCI image.

CRI still depends on the presence of a valid image so a small <1KB image is provided (`ghcr.io/atmask/containix-empty`) for compatibility but is ignored.

Containix bypasses the usual image process of building, pushing, and pulling entirely — the shim resolves the flake, fetches the closure from your binary cache, mounts the Nix store paths as the container's rootfs, and hands off to runc.

There is still some work I would like to do on the project to improve quality of life around running it and ensuring nodes have nix installed (e.g. daemonset installation, operator) but in the meantime I'd love feedback.

Repo: https://github.com/atmask/containix Kubernetes guide: https://github.com/atmask/containix/blob/main/docs/kubernete...

Advertisement

Discussion (0 Comments)Read Original on HackerNews

No comments available or they could not be loaded.