Choose an unprivileged LXC container for a Linux service you control, such as a reverse proxy or database. Use a QEMU/KVM virtual machine for a guest that needs its own kernel, stronger isolation, exclusive PCIe passthrough, or live migration between compatible cluster nodes.
What Proxmox is actually giving you
A VM boots its own operating system and kernel on virtual hardware. Proxmox runs VMs with QEMU and uses KVM for hardware acceleration. A VM’s configuration lives at /etc/pve/qemu-server/<VMID>.conf. QEMU/KVM virtual machines
An LXC system container runs a Linux distribution’s user space on the host kernel. Its configuration lives at /etc/pve/lxc/<CTID>.conf. Storage-backed mount points can use raw images, ZFS subvolumes, or directories. System container templates can be downloaded with pveam or through the web interface. Proxmox Container Toolkit
Click Create CT to open the container wizard. For a system container, select a distribution template. To use an OCI image, first choose Pull from OCI registry in the storage’s container template view, then select the stored image in the wizard. Proxmox VE supports OCI application containers on LXC as a technology preview. Web interface source · Proxmox Container Toolkit
Memory and CPU overhead
- LXC memory is a usage limit. Sharing the host kernel keeps container overhead low. Proxmox uses cgroups to limit container memory and CPU use. Proxmox Container Toolkit
- VM memory can be fixed or dynamic. Equal minimum and maximum settings give the VM a fixed allocation. A lower minimum allows ballooning to adjust guest memory within that range. The default VM disk cache mode, No cache, bypasses the host page cache for writes. QEMU/KVM virtual machines
The isolation boundary
LXC shares the host kernel, with AppArmor, seccomp and namespaces restricting what a container can do. Use a VM for workloads such as CI runners that execute untrusted code or shared shells for users you do not control. The separate guest kernel provides stronger isolation. Proxmox Container Toolkit
Privileged vs unprivileged containers
Unprivileged is the default for a new container. Root in the container maps to an unprivileged user on the host. Privileged containers lack this remapping and are intended for trusted environments. Proxmox Container Toolkit
- Bind-mount ownership. Check whether the container’s service account can access the host directory. User ID mapping can cause permission errors in an unprivileged container. Use a directory dedicated to the share and keep host system directories outside the container. Proxmox Container Toolkit
- Optional features. The
featuressetting includesnesting,fuse,keyctlandmount. Mounting NFS inside a container can block host I/O and prevent a reboot. Mount the NFS share on the host and bind-mount its directory into the container. Container configuration options · Proxmox Container Toolkit
When passthrough forces a VM
Use a VM when the guest needs exclusive control of a PCI device. Common examples are a dedicated GPU, a PCI storage controller, and a network card. Check IOMMU support before planning the assignment. A directly assigned device is unavailable to the host and other VMs. PCI(e) passthrough
The Proxmox GPU passthrough guide covers IOMMU groups and VFIO. If the PCI controller is for a storage appliance, see Proxmox vs TrueNAS.
For a container workload that only needs access to a host device node, Proxmox exposes the node through a dev[n] entry. The entry can set the device node’s user ID, group ID, and access mode. Container configuration options
Other reasons to choose a VM
- A separate kernel or operating system. Choose a VM for Windows, FreeBSD, or Linux software that needs a different kernel. Proxmox Container Toolkit · QEMU/KVM virtual machines
- An older Linux distribution. Choose a VM if the distribution lacks cgroup v2 support, which Proxmox VE 9 requires for LXC. Proxmox Container Toolkit
- An appliance disk image. Choose a VM for an appliance that ships as a bootable guest image. Home Assistant OS, for example, publishes a KVM disk image. Home Assistant OS installation
- Docker or Kubernetes with a separate kernel. For a Docker host or Kubernetes node that needs strong isolation and live migration, run it in a VM. If you nest Docker in an unprivileged LXC container,
nestingpermits nested containers and Docker also requireskeyctl. Proxmox Container Toolkit · Container configuration options
Operational differences that bite later
Migration. A running VM can live-migrate when the cluster meets the migration requirements and the VM has no blocking local resources, such as passed-through PCI devices. Moving a running LXC container requires shutting it down and starting it again on the target node. QEMU/KVM virtual machines · Proxmox Container Toolkit
Plan for that difference in your cluster design and high availability configuration.
Snapshots. A container snapshot saves supported storage volumes and the container configuration. A VM snapshot can also save RAM state with the --vmstate option. Proxmox Container Toolkit · VM command reference
Backups. vzdump covers both guest types. Container backups archive files, while VM backups capture drive data. Back up container bind-mount data separately. For backups on Proxmox Backup Server, open the storage’s Backups tab and select File Restore to browse supported filesystems from either guest type. Backup and Restore
See the backup and restore strategy and Proxmox Backup Server setup.
Networking. Both guest types can attach to a host bridge and use the Proxmox firewall. Proxmox Container Toolkit · QEMU/KVM virtual machines
See bridges and VLANs and firewall configuration.
Growing a container mount point or VM disk
Take a backup and confirm the guest ID and volume before resizing. These examples use container 100, VM 200, and an increase of 10G.
| Guest | Command on the Proxmox host | What it grows |
|---|---|---|
| LXC | pct resize 100 rootfs +10G | The storage-backed root mount point. Use its mount-point key, such as mp0, for an additional managed volume. Container command reference |
| VM | qm disk resize 200 scsi0 +10G | The virtual disk. Extend the partition and filesystem inside the guest as needed to use that space. VM command reference · QEMU disk image documentation |
Both resize commands support growth only. For volume choices, see the Proxmox ZFS storage guide. Container command reference · VM command reference
Evidence and limits. This comparison is based on the Proxmox VE guide chapters and the pct and qm command references from the master branch of the pve-docs repository. The example commands were not run.
Next steps
- Size the host with the Proxmox hardware requirements.
- Create repeatable VMs with Proxmox cloud-init templates.
- Diagnose guest issues with these common Proxmox problems and fixes.
- Learn how to roll back either guest type in Proxmox snapshots explained.
- Decide what to build first with the Proxmox VE homelab roadmap.
Related across the network
- Proxmox Mini PC Setup Guide: LXC, Storage, Backups — minilabhq.com
- How Many VMs Can an N100 Mini PC Run? — minilabhq.com