I figure this is an elementary question for most, but I've scoured the forum (and internet at large) and am still struggling to put two and two together. I'm trying to understand the proper way to setup Docker on a Proxmox VM using ZFS storage. I have two zpools on my machine and, though I'm still a bit undecided on this part, I think I'd like to run the guest OS / Docker on one zpool and store the Docker volume data on the other.
So far, I've created the VM from scratch (with a single virtual disk on one of the zpools), installed Ubuntu Server and Docker. The "docker info" command shows that the current Storage Driver setting is "overlay2" and the Backing Filesystem is "extfs". Should I change the storage driver to zfs?
Also, how would I best go about setting up storage of the docker volume data on the other zpool? Would this be by attaching another virtual disk (from the other zpool) to the VM? If so, where would I go from there?
Lastly, in this post, @LnxBil makes mention of a ZFS Volume Driver for Docker. Seems like a good idea, but I can't seem to find any info on how to implement this.
Sorry to say, but I guess I'm hoping for a step-by-step type guide in simple language for a noob like me. The one thing that I think I understand from searching the forum is that there are ZFS related advantages to running Docker on a VM (as opposed to an LXC). I'm just hoping to find the best practice configurations needed to capitalize on those advantages.
Thanks to anyone who can help!
So far, I've created the VM from scratch (with a single virtual disk on one of the zpools), installed Ubuntu Server and Docker. The "docker info" command shows that the current Storage Driver setting is "overlay2" and the Backing Filesystem is "extfs". Should I change the storage driver to zfs?
Also, how would I best go about setting up storage of the docker volume data on the other zpool? Would this be by attaching another virtual disk (from the other zpool) to the VM? If so, where would I go from there?
Lastly, in this post, @LnxBil makes mention of a ZFS Volume Driver for Docker. Seems like a good idea, but I can't seem to find any info on how to implement this.
Sorry to say, but I guess I'm hoping for a step-by-step type guide in simple language for a noob like me. The one thing that I think I understand from searching the forum is that there are ZFS related advantages to running Docker on a VM (as opposed to an LXC). I'm just hoping to find the best practice configurations needed to capitalize on those advantages.
Thanks to anyone who can help!