Previous page

Next page

Locate page in Contents

Print this page

pctl

pctl is the primary tool for Container management. To use it, you have to log in to the server as the root user. The syntax of pctl is:

pctl [--quiet | --verbose] command CT_ID

pctl --version

pctl --help

Where command can be one of the following:

create

Creates a new Container.

delete

destroy

Deletes a Container.

mount

Mounts the Container private area and executes the Container mount script.

umount

Unmounts the Container private area and executes the unmount script.

start

Starts a Container.

stop

Stops a Container.

restart

Restarts a Container.

status

Displays the Container status.

set

Sets Container parameters: resource control settings, hostname, IP addresses, and so on.

unset

Removes Container parameters (resource control settings, IP addresses, and so on) from the configuration file.

enter

Logs in to a Container without knowing its root password.

exec

exec2

Runs arbitrary commands in a Container without logging in to it.

recover

reinstall

Recovers the original state of the Container system and application files.

quotaon

Turns the disk quota on for a Container.

quotaoff

Turns the disk quota off for a Container.

quotainit

Initializes the disk quota for a Container with the parameters taken from the Container configuration file.

suspend

Saves the state of a running Container in a dump file.

resume

Restores a Container from its dump file.

convert

Converts legacy Containers to support the new Parallels Containers directory layout.

runscript

Runs shell scripts in a Container.

Verbosity options can be used with any of the above commands:

--verbose

Sets the log level to its maximum possible value.

--quiet

Disables logging to the screen and to the log file.

You can also pass to pctl one of the following options:

--version

Displays the pctl package version currently installed on the server.

--help

Displays the usage information about pctl .