Subcommands (13)
Clone a container.
Print the configuration of a container.
Attach to a container TTY.
Create LXC containers in Proxmox.
Destroy a container.
Launch a command inside a specified container.
Mount a container's filesystem on the host.
This command is an alias of `pct move-volume`.
Resize container storage.
Set container options.
Display the status of a container.
Convert a container into a template.
Unmount a container's filesystem from the host.
Options (6)
booleanAccess a specific container's shell
pct {{[en|enter]}} {{100}}booleanCreate a container from template with 4GB size
pct {{[cr|create]}} {{100}} {{local:vztmpl/distro-name.tar.zst}} --rootfs {{local-lvm}}:4booleanResize the container's disk to 20G
pct {{[resi|resize]}} {{100}} {{rootfs|mpX}} {{20G}}booleanShow the configuration of a container, specifying its ID
pct {{[conf|config]}} {{100}}booleanSnapshot a specific container with description
pct {{[sn|snapshot]}} {{100}} {{my-snapshot}} --description {{My snapshot description}}booleanDestroy a container and remove all related resources
pct {{[des|destroy]}} {{100}} --purgeExamples (8)
List all containers
pct listStart/Stop/Reboot a specific container
pct start|stop|reboot 100Access a specific container's shell
pct [en|enter] 100Create a container from template with 4GB size
pct [cr|create] 100 local:vztmpl/distro-name.tar.zst --rootfs local-lvm:4Resize the container's disk to 20G
pct [resi|resize] 100 rootfs|mpX 20GShow the configuration of a container, specifying its ID
pct [conf|config] 100Snapshot a specific container with description
pct [sn|snapshot] 100 my-snapshot --description My snapshot descriptionDestroy a container and remove all related resources
pct [des|destroy] 100 --purge