3 ms·
What are the cases where Nix is a better fit than Docker?
by jimbokun 3y ago
What are the cases where Nix is a better fit than Docker?
- chriswarbo 3y agoNix works natively on systems like macOS
- avtar 3y agoNix can be used to create Docker images https://nix.dev/tutorials/nixos/building-and-running-docker-images.html https://nix.dev/tutorials/nixos/building-and-running-docker-...
- angra_mainyu 3y agoPackages that need to cross docker's isolation or are graphical. Some recent examples: - Downloaded a .7z file, nix-shell -p p7zip, extract, exit shell. - Was working on a paper, set up texstudio w/ devenv. - Needed to use vagrant and virtualbox, however apt installing them was impossible due to a dependency issue (incompatible on pop os at the time). Trivially fixed by just: devenv init -> add to devenv.nix file -> devenv shell