moving to debian + docker as proxmox replacement (part 1)
so my attempt at using freebsd failed. so my next plan of attack is to use stock barebones debian and vanilla docker (using compose). now i did some sort of weird things with regard to my debian install. i’m actually running 2 nvme drives with 3 partitions each (efi, swap, data) and used md to create software raid1 for the swap and data partitions. this had to be done manually in the installer.
i will also be using 6 3TB platters i had laying around running zfs mirroring 2 disks x 3 mirrors. i’m going to mirror because i want the platters to read faster for some of the things i’ll be doing. the platters themselves will be used strictly for docker storage and i will sacrifice space for iops / speed.
i installed docker using the docker instructions which means i added their repo and installed from there. that is pretty straight forward copy / paste.
i’ve never used docker before so i’m going to have to work out the best ways to structure dirs and run it. i’m going to just use /docker on the host and set zfs mountpoints for storage inside the subdirectories. the host itself will run nothing but docker. i’ll also be mounting media in /mnt/foo for things like plex and jellyfin as cifs. the jellyfin db and some of the other files will need to be on the nvme for the most amount of speed.
i also need to feed a gpu to some of the containers. i have an old nvidia p400 in it but if this all works out i may swap my a310 from my proxmox server into the debian / docker server.
things so far: installed debian on md raid using xfs, installed docker, installed zfs (apt sets up dkms when you install it), configured storage zpool using zfs mirroring (raid1 in raid speak).
then once i get something half functional i’ll work on how to back things up.