Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

LXC Containers

Direct answer

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.

When to use this

Use it when configuring, checking or troubleshooting LXC Containers in Proxmox VE.

First 30 seconds

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.

Operational verification

config → LXC → host kernel namespaces/cgroups

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Container process state shows userspace was started, not that host-kernel dependencies, mounts, network or application behavior are healthy.

Platform / version applicability
proxmox-ve
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformproxmox-ve · Proxmox VE
Key commandpct list
Scope / prerequisiteUse it when configuring, checking or troubleshooting LXC Containers in Proxmox VE.
Reference · 4
What next?3 suggested next steps
Catalog command links4
Evidence1
On this pageJump to a specific section
Virtualization command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • pct list — containers
  • pct config <ctid> — configuration
  • pct enter <ctid> — shell in container
ReferenceWhat it is1 section · depth on demand

LXC vs VM on Proxmox

LXC containerKVM VM
KernelShares host kernelOwn kernel
OSLinux onlyAny
OverheadVery lowHigher
IsolationWeaker (use unprivileged containers)Strong
Live migrationNo (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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docproxmox-ve current

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%
Terminology layer

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.

Aliases that resolve here
proxmox lxclxc containerpct containerproxmox container
Embedded reference data

Quick lookup tables

Proxmox VE → LXC Containers reference map

Fast operational boundaries and evidence limits for Proxmox VE → LXC Containers.

BoundaryWhat to verifyEvidence limit
Configured stateExpected LXC Containers configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant LXC Containers service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident
Confirmation

Confirm action

Continue?