logoalt Hacker News

xyzzy_plughtoday at 1:52 AM1 replyview on HN

The difference is that you can blow the Nix cache away and reproduce it entirely. The same cannot be said for Docker.


Replies

verdvermtoday at 2:39 AM

That's not true

Docker has a `--no-cache` flag, even easier than blowing it away, which you can also do with several built in commands or a rm -rf /var/lib/docker

Perhaps worth revisiting: https://docs.docker.com/build/cache/

show 1 reply