This is why I use locally mounted volumes for all my docker containers. Makes transferring over to new hosts an easy rsync one liner.
I haven't dug into this too much, but I have seen mention of using overlay2 for lxcs on proxmox. If that was available would you still prefer VMs?
Here's one post I just found talking about the availability of it: https://forum.proxmox.com/threads/lxc-zfs-docker-overlay2-driver.122621/
LPT: if you store your data on a NAS or somesuch, you can use NFS volumes to expose that data to your containers. That way, if you need to rejigger or blow away your setup, you don't lose anything that can't be rebuilt easily.
Did you see a performance improvement going from vfs to overlay2?
I'm still stuck on vfs as I don't want to mount my storage to the VM via NFS. Passing it into the lxc is so much more flexible and it doesn't come with the problems when dealing with database files.
I can’t say that I’ve noticed anything, however, my containers aren’t IO intensive either.
I agree completely about the LXC being much more flexible when using bind mounts rather than fstab.
Homelab
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community