Comment on How I accidentally wiped my server by having a typo in my Nextcloud docker config
nik282000@lemmy.ca 11 months agoI ham-fistedly use LXC to keep my services separate and out of dependancy hell, but would you go as far as putting docker run services in them as well just to keep them away from the host?
LufyCZ@lemmy.world 11 months ago
I do that, each separate docker stack has its own unprivileged LXC as a base
nik282000@lemmy.ca 11 months ago
Good to know, thanks!
4am@lemm.ee 11 months ago
Be aware that, in the past anyway, Docker didn’t like some storage mediums when running in LXC (I think there are [were?] issues if you snapshot the LXC image on ZFS and you’re using the Overlay2 driver for Docker), and that you could often find issues with networking that way as well (might be a problem if you are trying to cluster/swarm between multiple LXCs?). For those reasons I’ve kept all my Docker stuff in kvm rather than LXC, I wasn’t experienced enough to untangle it all.