4 ms·
Nix solves the ad-hoc problem much more cleanly than Dockerfiles do
by realjhol 4y ago
Nix solves the ad-hoc problem much more cleanly than Dockerfiles do
- orf 4y agoThere’s purity of design/implementation and there’s usage. Often these are inversely related. I like nix - it’s probably the right direction, but just compare the UX to Docker. Comparatively Docker absolutely nailed it.
- realjhol 4y agoIn many ways I agree with you. Just like Visual Basic 6, it's super-easy to get started with a Dockerfile, but nigh-on impossible to create a quality result with it.
- orf 4y agoThere are similarities in the implementation as well, specifically around content addressable storage and layers. Nix needs reproducible builds as well, which is a limiting factor. What’s nice about Docker is that it’s flexible enough to actually get stuff done.
- ParetoOptimal 4y ago> Nix needs reproducible builds as well, which is a limiting factor. It doesn't have to be, Nix lets you choose your level of purity and it can build docker containers.
- ParetoOptimal 4y agoThere are a variety of "overlays" springing up for Nix that might become what docker did for lxc containers: - devenv - devbox - others i'm forgetting