Use it when configuring, checking or troubleshooting LXC Containers in Proxmox VE.
LXC Containers
Unlike a full VM, an LXC container shares the Proxmox node kernel; host kernel capabilities, cgroups, UID/GID mapping and mount permissions can therefore directly constrain the container.
1. LXC containers share the host kernel — lighter than VMs.
2. Prefer unprivileged containers.
3. No live migration (restart migration only).
4. Kernel modules/features come from the host.
5. Nesting/FUSE/NFS need features flags.
config → LXC → host kernel namespaces/cgroups
Context & applicabilityCommon mistakes · platform/version boundaries
Container process state shows userspace was started, not that host-kernel dependencies, mounts, network or application behavior are healthy.
Operational reference
Fast context before you go deeper.
pct listPrimary Commands
Configuration and operational commands for this Topic.
pct listReferenceList LXC containers and state.
Use when: Use after confirming the Proxmox VE target and before changing state.
Quick note: Hyper-V / Proxmox VE / KVM-QEMU. A running VM proves only execution state; it does not prove guest health, network reachability, storage durability or recoverability.
Proxmox VE · mixedpct status <ctid>ReferenceLXC container running/stopped state.
Use when: Use after confirming the Proxmox VE target and before changing state.
Quick note: Hyper-V / Proxmox VE / KVM-QEMU. A running VM proves only execution state; it does not prove guest health, network reachability, storage durability or recoverability.
Proxmox VE · mixedpct config <ctid>ReferenceLXC container configuration.
Use when: Use after confirming the Proxmox VE target and before changing state.
Quick note: Hyper-V / Proxmox VE / KVM-QEMU. A running VM proves only execution state; it does not prove guest health, network reachability, storage durability or recoverability.
Proxmox VE · mixedpct config <vmid>ReferenceDisplay LXC container configuration.
Use when: Use after confirming the Proxmox VE target and before changing state.
Quick note: Hyper-V / Proxmox VE / KVM-QEMU. A running VM proves only execution state; it does not prove guest health, network reachability, storage durability or recoverability.
Proxmox VE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Proxmox CT config → host kernel/namespaces/cgroups → mounts/veth → container userspace → service
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Container Running does not prove its service is healthy.
- Kernel features cannot be independently changed inside a normal container as in a VM.
- Unprivileged UID/GID mapping changes file-permission interpretation.
- Bind mounts and device exposure extend the trust boundary to host resources.
pct list— containerspct config <ctid>— configurationpct enter <ctid>— shell in container
ReferenceWhat it is1 section · depth on demand
LXC vs VM on Proxmox
| LXC container | KVM VM | |
|---|---|---|
| Kernel | Shares host kernel | Own kernel |
| OS | Linux only | Any |
| Overhead | Very low | Higher |
| Isolation | Weaker (use unprivileged containers) | Strong |
| Live migration | No (restart migration) | Yes |
Commands: pct list, pct enter 200, pct config 200, pct set 200 --memory 2048. Prefer unprivileged containers; Docker inside LXC needs nesting and is better in a VM.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Container process state shows userspace was started, not that host-kernel dependencies, mounts, network or application behavior are healthy.
In depth
LXC containers on Proxmox share the host kernel: lighter than VMs, fast to start, but Linux-only and with weaker isolation. Unprivileged containers (default) map root inside to an unprivileged UID on the host.
pct create 200 local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst --hostname web --cores 2 --memory 1024 --rootfs local-zfs:8 --net0 name=eth0,bridge=vmbr0,ip=dhcp --unprivileged 1
pct enter 200
pct config 200
pct set 200 --features nesting=1 # needed e.g. for systemd/docker inside
Containers cannot live-migrate (restart migration only) and kernel features (NFS server, some modules) may be restricted.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Proxmox VE → LXC Containers. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Proxmox VE → LXC Containers reference map
Fast operational boundaries and evidence limits for Proxmox VE → LXC Containers.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected LXC Containers configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant LXC Containers service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |