-
-Managing Containers with 'pct'
-------------------------------
-
-'pct' is the tool to manage Linux Containers on {pve}. You can create
-and destroy containers, and control execution (start, stop, migrate,
-...). You can use pct to set parameters in the associated config file,
-like network configuration or memory limits.
-
-CLI Usage Examples
-------------------
-
-Create a container based on a Debian template (provided you have
-already downloaded the template via the webgui)
-
- pct create 100 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz
-
-Start container 100
-
- pct start 100
-
-Start a login session via getty
-
- pct console 100
-
-Enter the LXC namespace and run a shell as root user
-
- pct enter 100
-
-Display the configuration
-
- pct config 100
-
-Add a network interface called eth0, bridged to the host bridge vmbr0,
-set the address and gateway, while it's running
-
- pct set 100 -net0 name=eth0,bridge=vmbr0,ip=192.168.15.147/24,gw=192.168.15.1
-
-Reduce the memory of the container to 512MB
-
- pct set -memory 512 100
-
-Files
-------
-
-'/etc/pve/lxc/<CTID>.conf'::
-
-Configuration file for the container '<CTID>'.
-
-