I recently installed proxmox on two 7050 micro pcs, and set up a third box with PBS.

Within proxmox is it best to run docker in a LXC or a VM ?

Should I run one docker image per instance, or all in the same instance ?

I would like to back this stuff up to PBS. Is this a factor in this decision?

I have plex, node-red, influxdb, mosquitto and grafana dockers on an old pc that I wish to rehost to proxmox.

  • tofu
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Both works, including backups, but the official recommendation is to use a VM for better isolation.

    Note If you want to run application containers, for example, Docker images, it is recommended that you run them inside a Proxmox QEMU VM. This will give you all the advantages of application containerization, while also providing the benefits that VMs offer, such as strong isolation from the host and the ability to live-migrate, which otherwise isn’t possible with containers

    https://pve.proxmox.com/wiki/Linux_Container

    1 VM per Docker stack is pretty resource intensive so many people put many docker stacks in 1 VM which is fine. You can maybe have 1 VM for public facing services and 1 for internal or similar.