Deploy a LXC container on Proxmox
Create a LXC lightweight Linux container, choose the template, allocate resources and access console.
Ready to start your service? Check offers and order online.
View offers and orderDeploy a LXC container on Proxmox
The LXC containers share the kernel of the Proxmox host and consume less RAM than a KVM VM. Ideal for Linux services (nginx, light bases, bots), they start in seconds. This guide covers creation, templates and console access.
LXC vs KVM, when to choose?
| Criteria | LXC | KVM |
|---|---|---|
| OS | Linux only | Linux, Windows, BSD... |
| RAM | Very light | Full kernel Overhead |
| Isolation | Container | Virtualization hardware |
| Use cases | API, proxy, dev | Full Apps, AD, Games |
Create a CT container
- Proxmox Node → Create CT
- CT ID, hostname, root password or SSH key
- Template: Debian 12, Ubuntu 22.04... (downloaded from Proxmox)
- Root disc : 8-20GB depending on usage
- CPU & RAM : 1 vCore / 512 MB minimum
- Network: vmbr0, IPv4 DHCP or static
- Start and connect to SSH or console
Recommended configuration
- Activate nesting only if Docker in LXC (advanced use)
- Mounts bind for persistent data if necessary
- Regular updates:
apt update && apt upgrade
Security
A compromised container has a different surface than a VM. Isolate public services and apply proxmox firewall to the CT level.
Troubleshooting
- CT does not ping, IP, gateway, firewall host
- Template unavailable, download via Proxmox storage → CT Templates
Complete VM: create VM KVM.