News for hackers. Stuff that matters.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by adisbladis on Tuesday June 27, 2023 @05:31AM (#36490750)
This is only true if use a Docker based workflow using `FROM nixos/nix`. This image exists mainly as a way for people to try out Nix with, not to build production images on top of. We ship many things which bloat the image size but makes it nicer for interactive usage.

Using dockerTools from nixpkgs is much better and gives you much smaller images closer to Alpine size.

Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by tauroid on Tuesday June 27, 2023 @06:59AM (#36491266)
I might have confused download volume with image size but the tar.gz for dockerTools.buildLayeredImage with just node and mariadb in the contents is still 220MB (just checked)

Edit: with nothing in the contents it's 144M, which is getting reasonable but still nearly 30x alpine base