guest@bastion:~/docs/proxmox/lxc$ man proxmox/lxc
LXC(7)Simon Cornet's docsLXC(7)

LXC

Interaction #

Show running LXC #

sudo pct list

Enter running LXC #

sudo pct enter <id>

Operate LCX #

sudo pct stop <id>
sudo pct start <id>
sudo pct reboot <id>
sudo pct destroy <id>

sudo pct status <id>
sudo pct migrate <id> <target>

sudo pct snapshot <id> <snapname>
sudo pct rollback <id> <snapname>

Configuration #

GPU access #

Add the following to the config:

lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.cgroup2.devices.allow: c 29:0 rwm
lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir
lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file

Add mount point #

Add the following to the config:

mp10: /tank/media/downloads,mp=/mnt/media/downloads
/tank/media/downloads = on the host
/mnt/media/downloads  = in the container
proxmox110 wordsLXC(7)
main ~/docs/proxmox/lxc © 2026 Simon Cornet