List Containers
Create or Restore a Container
1
| pct create <vmid> <ostemplate> [OPTIONS]
|
Start the Container
1
| pct start <vmid> [OPTIONS]
|
Create a Container Clone/Copy
1
| pct clone <vmid> <newid> [OPTIONS]
|
Suspend the Container - This is Experimental
Resume the Container
Stop the Container
This will abruptly stop all processes running in the container.
1
| pct stop <vmid> [OPTIONS]
|
Shutdown the Container
This will trigger a clean shutdown of the container, see lxc-stop(1) for details
1
| pct shutdown <vmid> [OPTIONS]
|
Destroy the Container (Also Delete All Uses Files)
1
| pct destroy <vmid> [OPTIONS]
|
Show CT Status
1
| pct status <vmid> [OPTIONS]
|
Migrate the Container to Another Node. Creates a New Bigration Task
1
| pct migrate <vmid> <target> [OPTIONS]
|
Get Container Configuration
1
| pct config <vmid> [OPTIONS]
|
Print the List of Assigned CPU Sets
Get Container Configuration, Including Pending Changes
Reboot the Container by Shutting it Down, and Starting it Again. Applies Pending Changes.
1
| pct reboot <vmid> [OPTIONS]
|
Create or Restore a Container
1
| pct restore <vmid> <ostemplate> [OPTIONS]
|
Set Container Options
1
| pct set <vmid> [OPTIONS]
|
Create a Template.
Unlock the VM.