pct Command Examples

Manage LXC containers in Proxmox. More information: https://pve.proxmox.com/pve-docs/pct.1.html.

pct list

pct {{start|stop|reboot}} {{100}}

pct enter {{100}}

pct create {{100}} {{/var/lib/vz/template/cache/distro-name.tar.zst}} -hostname {{hostname}} -password {{password}} --rootfs {{local-lvm}} --on-boot

pct resize {{100}} {{rootfs|mpX}} {{20G}}

pct config {{100}}

pct snapshot {{100}} {{my-snapshot}} --description {{My snapshot description}}

pct destroy {{100}} --purge