Hi all. Just learned about NixOS a few weeks ago. I’m in the process of migrating several of my docker services to a new server that will have proxmox installed as the host and then a VM for docker.

I’m currently using alpine as the VM and it works well but one of the main goals of the migration is to use infrastructure as code as much as possible. All my docker services are docker compose files checked into a git repo that gets deployed. When I need to make a change, I update the git repo and pull down the latest docker compose.

I currently have a bunch of steps that I need to do on the alpine VM to make it ready for docker (qemu agent, NFS shares, etc).

NixOS promises to be able to do all that with a single config file and then create a immutable OS that never changes after that. That seems to follow the philosophy well for infrastructure as code and easy reproducibility.

Has anyone else tried NixOS as a docker host? Any issues you’ve encountered?

  • projectdp@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I haven’t but would be curious to follow your journey. I’m running a NixOS VM (in Proxmox too) but still learning the basics. My goal initially was a simple utility VM. Separately I’ve also been moving my Docker host VMs to increasingly better setups and NixOS seems like an interesting next candidate.