+
NOTE: Requires option(s): `full`
-
-
-
*pct config* `<vmid>`
Get container configuration.
The (unique) ID of the VM.
-
-
-
*pct console* `<vmid>`
Launch a console for the specified container.
The (unique) ID of the VM.
-
-
*pct cpusets*
Print the list of assigned CPU sets.
-
-
-
*pct create* `<vmid> <ostemplate>` `[OPTIONS]`
Create or restore a container.
Reference to unused volumes. This is used internally, and should not be modified manually.
-
-
-
*pct delsnapshot* `<vmid> <snapname>` `[OPTIONS]`
Delete a LXC snapshot.
For removal from config file, even if removing disk snapshots fails.
-
-
-
*pct destroy* `<vmid>`
Destroy the container (also delete all uses files).
The (unique) ID of the VM.
-
-
-
*pct df* `<vmid>`
Get the container's current disk usage.
The (unique) ID of the VM.
-
-
*pct enter* `<vmid>`
Launch a shell for the specified container.
The (unique) ID of the VM.
-
-
*pct exec* `<vmid> [<extra-args>]`
Launch a command inside the specified container.
Extra arguments as array
-
-
*pct fsck* `<vmid>` `[OPTIONS]`
Run a filesystem check (fsck) on a container volume.
Force checking, even if the filesystem seems clean
-
-
-
-*pct help* `[<cmd>]` `[OPTIONS]`
+*pct help* `[OPTIONS]`
Get help about specified command.
-`<cmd>`: `<string>` ::
+`--extra-args` `<array>` ::
-Command name
+Shows help for a specific command
`--verbose` `<boolean>` ::
Verbose output format.
-
-
-
*pct list*
LXC container index (per node).
-
-
-
*pct listsnapshot* `<vmid>`
List all snapshots.
The (unique) ID of the VM.
-
-
-
*pct migrate* `<vmid> <target>` `[OPTIONS]`
Migrate the container to another node. Creates a new migration task.
Timeout in seconds for shutdown for restart migration
-
-
-
*pct mount* `<vmid>`
Mount the container's filesystem on the host. This will hold a lock on the
The (unique) ID of the VM.
-
-
*pct pull* `<vmid> <path> <destination>` `[OPTIONS]`
Copy a file from the container to the local system.
Owner user name or id.
-
-
*pct push* `<vmid> <file> <destination>` `[OPTIONS]`
Copy a local file to the container.
Owner user name or id. When using a name it must exist inside the container.
-
-
-
*pct resize* `<vmid> <disk> <size>` `[OPTIONS]`
Resize a container mount point.
Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
-
-
*pct restore* `<vmid> <ostemplate>` `[OPTIONS]`
Create or restore a container.
Reference to unused volumes. This is used internally, and should not be modified manually.
-
-
-
*pct resume* `<vmid>`
Resume the container.
The (unique) ID of the VM.
-
-
-
*pct rollback* `<vmid> <snapname>`
Rollback LXC state to specified snapshot.
The name of the snapshot.
-
-
-
*pct set* `<vmid>` `[OPTIONS]`
Set container options.
Reference to unused volumes. This is used internally, and should not be modified manually.
-
-
-
*pct shutdown* `<vmid>` `[OPTIONS]`
Shutdown the container. This will trigger a clean shutdown of the
Wait maximal timeout seconds.
-
-
-
*pct snapshot* `<vmid> <snapname>` `[OPTIONS]`
Snapshot a container.
A textual description or comment.
-
-
-
*pct start* `<vmid>` `[OPTIONS]`
Start the container.
Ignore locks - only root is allowed to use this option.
-
-
-
*pct status* `<vmid>` `[OPTIONS]`
Show CT status.
Verbose output format
-
-
-
*pct stop* `<vmid>` `[OPTIONS]`
Stop the container. This will abruptly stop all processes running in the
Ignore locks - only root is allowed to use this option.
-
-
*pct suspend* `<vmid>`
Suspend the container.
The (unique) ID of the VM.
-
-
-
*pct template* `<vmid> --experimental <boolean>` `[OPTIONS]`
Create a Template.
The template feature is experimental, set this flag if you know what you are doing.
-
-
-
*pct unlock* `<vmid>`
Unlock the VM.
The (unique) ID of the VM.
-
-
*pct unmount* `<vmid>`
Unmount the container's filesystem.
The (unique) ID of the VM.
-
-