Docker+Nix
Nix is exceptionally good at making docker containers. - HN
- Optimising Docker Layers for Better Caching with Nix
- Efficient layering is hard because there are no rules
- With restrictions, we can make better optimisations (Nix does have rules.)
- Think graphs, not layers
- Flattening Graphs to Layers
- Docker images from Nix
- nix-snapshotter - Instead of downloading image layers, software packages come directly from a Nix store.
Written on December 19, 2025, Last update on December 19, 2025
nix
docker
graph