The short answer judgement
- If you wantDocker apps from the steps on this siteA VMFor maximum isolation and live migration, Proxmox says nesting containers inside a VM remains a recommended practice.
- If you wantAn app that runs as a plain Linux service, with no DockerAn LXC containerProxmox says the runtime costs of a container are usually negligible.
- If you wantWindows or another system that is not LinuxA VMProxmox says only Linux distributions run in its containers.
- If you wantStrong separation from the hostA VMProxmox says full virtual machines in general provide better isolation.
This page sets out what Proxmox says on its own pages. It gives no speed test and makes no speed claim.
LXC container and VM, from the Proxmox pages
| Compared | LXC container | VM (QEMU/KVM) |
|---|---|---|
| What it is | Containers are a lightweight alternative to fully virtualized machines (VMs). | QEMU (short form for Quick Emulator) is an open source hypervisor that emulates a physical computer. |
| Whose kernel | They use the kernel of the host system that they run on, instead of emulating a full operating system (OS). | A guest operating system running in the emulated computer accesses these devices, and runs as if it were running on real hardware. |
| Operating systems | Only Linux distributions can be run in Proxmox Containers. | This allows QEMU to run unmodified operating systems. |
| Cost of running it | The runtime costs for containers is low, usually negligible. | For emulated devices: This however has a performance cost, as running in software what was meant to run in hardware involves a lot of extra work for the host CPU.Proxmox offers paravirtualized virtio devices to reduce that cost. |
| Docker inside it | Possible. For the keyctl feature of an unprivileged container: This is required to use docker inside a container.For uses that need maximum isolation and live migration, Proxmox says nesting containers inside a Proxmox QEMU VM remains a recommended practice. | Docker runs in the VM as on any Debian server. The Proxmox steps on this site use a Debian VM with Docker. |
| Isolation | Containers use the kernel of the host system. This exposes an attack surface for malicious users. | In general, full virtual machines provide better isolation. |
| Snapshots | Advanced storage features like snapshots or clones can be used if the underlying storage supports them. | The VM page covers snapshots, including snapshots with RAM, and rolling back to one. |
| Disks and devices of the host | Device mount points should only be used under special circumstances. The contents of device mount points are not backed up when using vzdump. | Host USB passthrough works by giving a VM a USB device of the host.The page also names PCIe passthrough. |
| Memory | No memory figure on the page read. | You set the memory of each VM. With a minimum below the maximum, Proxmox adds memory up to the maximum while RAM use on the host is under a target. The target percentage defaults to 80%. |
Point at a dotted line to see its source. A quote holds Proxmox's own words.
Each app on this site
The Proxmox steps on this site put every app in a Debian VM with Docker. Three apps have a statement about LXC or a VM in the pages that the steps came from. The app page lists its sources.
| Compared | What the project says |
|---|---|
| Immich | Do not use an LXC container for Immich. Immich says Docker in LXC containers is not recommended. Do not use Docker in an LXC container. Use a full VM. |
| Home Assistant | Home Assistant OS as a VM is a separate install. See Home Assistant on Proxmox. |
| Frigate | Use bare-metal Debian if you can. Frigate says a VM on Proxmox is not recommended. |
The other 15 apps are Jellyfin, Navidrome, Audiobookshelf, Nextcloud, Syncthing, Paperless-ngx, Pi-hole, AdGuard Home, wg-easy, Nginx Proxy Manager, Uptime Kuma, Grafana, Portainer, Vaultwarden, Gitea. The pages read for them say nothing about LXC or a VM, so the steps use the same Debian VM with Docker.
What this page leaves out
No benchmark and no memory figure for a container: the Proxmox pages read give none. Which base system goes under Proxmox, or whether to use Proxmox at all, is a different choice: see Proxmox or Ubuntu, Docker or bare metal.
Other hardware: start with what you have. Apps to run: the software list.
est. Estimates only. Each fact is from the project or maker named, with the date it was read. Point at a dotted line to see its source.