Look at almost anyone's Proxmox setup and you will see VMs for nearly everything, even though LXC containers are lighter. If LXC wins on efficiency, why do people keep choosing VMs? Here are the real reasons.
Where LXC is genuinely better
To be fair to containers first:
- They share the host kernel, so memory and CPU overhead is small
- They start in seconds
- Bind mounts make it easy to share host directories
- For small Linux services (DNS, a reverse proxy, a monitoring agent) they are plenty
People still pick VMs because of the following limits.
1. No live migration
A VM can move to another node while it keeps running. A container cannot. The Proxmox documentation is clear that the only way to move a running container is restart migration: the container is stopped, moved, and started again on the target node.
If you run a cluster and patch nodes, that difference matters. Anything that must not stop ends up in a VM.
2. A shared kernel
Containers run on the host's kernel. That means:
- No Windows or FreeBSD
- No custom kernel or kernel modules inside the guest
- Every host kernel update affects every container
Software that needs a specific kernel version or module (some VPNs, storage stacks, drivers) needs a VM.
3. Weaker isolation
As the documentation points out, containers share the kernel with the host, so the attack surface is larger. Unprivileged containers map root to an unprivileged user on the host, which is a big improvement, but it is still not the hardware level isolation a VM gives you.
For anything exposed to the internet, or code you do not fully trust, a VM is the safer default.
4. Docker inside LXC is fragile
Docker is the most common homelab workload, and the Proxmox docs say it is best to run micro containers such as Docker inside a VM.
Docker in LXC tends to trip over nesting, storage drivers, AppArmor and sysctl settings, and the Proxmox forum regularly sees reports of it breaking after an update.
Proxmox VE 9.1 added the ability to create LXC containers from OCI images, but it is still a technology preview.
5. Mounts and permissions get in the way
In an unprivileged container:
- You cannot mount NFS or CIFS directly from inside (mount on the host and bind mount instead)
- UID mapping causes permission problems on shared directories
- FUSE is discouraged because it does not play well with freezing the container for backups
In a VM you mount things the way you would on any Linux box.
6. It is simply the safe choice
The last reason is plain: a VM behaves like any other server. Install guides and vendor support almost always assume a VM or bare metal. Once you count the time spent working around container limits, spending a bit more RAM on a VM is often the faster path.
A quick rule of thumb
| Workload | Pick |
|---|---|
| DNS, reverse proxy, light Linux services | LXC |
| Docker, Kubernetes | VM |
| Windows, BSD, custom kernel | VM |
| Must move between nodes without stopping | VM |
| Internet facing or untrusted workloads | VM |
| Needs NFS or CIFS mounted directly | VM (or mount on the host) |
The short version
LXC is light and fast, but it is limited on live migration, kernel, isolation, Docker and mounts. Most people choose VMs because they value "works the same everywhere" over efficiency. Light Linux services in LXC, everything else in a VM, is the practical split.
Top comments (0)