4 include::attributes.txt[]
9 pct - Tool to manage Linux Containers (LXC) on Proxmox VE
15 include::pct.1-synopsis.adoc[]
22 Proxmox Container Toolkit
23 =========================
24 include::attributes.txt[]
27 'pct' is a tool to manages Linux Containers (LXC). You can create and
28 destroy containers, and control execution
29 (start/stop/suspend/resume). Besides that, you can use pct to set
30 parameters in the associated config file, like network configuration
36 Create a container based on a Debian template (provided you downloaded
37 the template via the webgui before)
39 pct create 100 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz
45 Start a login session via getty
49 Enter the LXC namespace and run a shell as root user
53 Display the configuration
57 Add a network interface called eth0, bridged to the host bridge vmbr0,
58 set the address and gateway, while it's running
60 pct set 100 -net0 name=eth0,bridge=vmbr0,ip=192.168.15.147/24,gw=192.168.15.1
62 Reduce the memory of the container to 512MB
64 pct set -memory 512 100
69 '/etc/pve/lxc/<vmid>.conf'::
71 Configuration file for the container <vmid>
77 - Simple, and fully integrated into {pve}. Setup looks similar to a normal
80 * Storage (ZFS, LVM, NFS, Ceph, ...)
88 - Fast: minimal overhead, as fast as bare metal
90 - High density (perfect for idle workloads)
94 - Direct hardware access
100 - Integrated into {pve} graphical user interface (GUI)
102 - LXC (https://linuxcontainers.org/)
104 - cgmanager for cgroup management
106 - lxcfs to provive containerized /proc file system
110 - CRIU: for live migration (planned)
112 - We use latest available kernels (4.2.X)
114 - image based deployment (templates)
116 - Container setup from host (Network, DNS, Storage, ...)
120 include::pve-copyright.adoc[]