3 ms·
I haven't used Nix. It looks like it might be a good solution for CLIs and developer tools, but from what I know of it, it doesn't supplant Docker (or snaps or
by caymanjim 3y ago
I haven't used Nix. It looks like it might be a good solution for CLIs and developer tools, but from what I know of it, it doesn't supplant Docker (or snaps or manual installation/configuration) for the kinds of things I use Docker for. Most of my personal Docker usage is for selfhosted web applications, like Nextcloud, Vaultwarden, Gitea, Drone, Wekan, Wiki.js, etc. I also now use Docker for things that I'd historically run directly on the host, like Postfix, Dovecot, Postgres, Redis, etc. I have a Proxmox VM running Docker for all my selfhosted stuff, and there's almost nothing installed outside Docker, except a few CLI clients for connecting to databases and testing things (psql, redis-cli). I run a separate VM with media servers in Docker, and another VM with my full dev environment, with Python venv, RVM, NVM, build-essential, etc. installed. Nix might be worth investigating for the dev VM, but I don't want all the selfhosted web services running outside a containerized environment (be it Docker or Kubernetes).
- robcohen 3y agoNix works together with docker: https://nix.dev/tutorials/nixos/building-and-running-docker-images.html https://nix.dev/tutorials/nixos/building-and-running-docker-...