Comment on Docker in LXC vs VM
sugar_in_your_tea@sh.itjust.works 1 month agoI don’t use proxmox, but it works absolutely fine for me on my regular Linux system, which has a firewall, some background services, etc. Could you be more specific on the issues you’re running into?
Also, I only really expose two services on my host:
- Caddy - handles all TLS and proxies to all other services in the internal docker network
- Jellyfin - my crappy smart TV doesn’t seem to be able to handle Jellyfin + TLS for some reason, it causes the app to lock up
Everything else just connects through an internal-only docker network.
MangoPenguin@lemmy.blahaj.zone 1 month ago
A couple posts down explains it, docker completely steamrolls networking when you install it. …proxmox.com/…/running-docker-on-the-proxmox-host…
The other reason is if it’s on the host you can’t back it up using proxmox backup server with the rest of the VMs/CTs
sugar_in_your_tea@sh.itjust.works 1 month ago
I don’t use proxmox, so I guess I don’t understand the appeal. I don’t see any reason to backup a container or a VM, I just backup configs and data. Backing up a VM makes sense if you have a bunch of customizations, but that’s pretty much the entire point of docker, you quarantine your customizations to your configs so it’s completely reproducible if you have the configs and data.
MangoPenguin@lemmy.blahaj.zone 1 month ago
Ease of use mostly, one click to restore everything including the OS is nice. Can also easily move them to other hosts for HA or maintenance.
sugar_in_your_tea@sh.itjust.works 1 month ago
That’s fair.
That said, I can’t think of anything I’d want to run that doesn’t work in docker, except maybe pf? But I’d probably put that on a dedicated machine anyway. Pretty much everything else runs on Linux or has a completely viable Linux alternative, so I could easily built a docker image for it.