1 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 =========================
26 'pct' is a tool to manages Linux Containers (LXC). You can create and
27 destroy containers, and control execution
28 (start/stop/suspend/resume). Besides that, you can use pct to set
29 parameters in the associated config file, like network configuration
35 Create a container based on a Debian template (provided you downloaded
36 the template via the webgui before)
38 pct create 100 /var/lib/vz/template/cache/debian-8.0-standard_8.0-1_amd64.tar.gz
44 Start a login session via getty
48 Enter the LXC namespace and run a shell as root user
52 Display the configuration
56 Add a network interface called eth0, bridged to the host bridge vmbr0,
57 set the address and gateway, while it's running
59 pct set 100 -net0 name=eth0,bridge=vmbr0,ip=192.168.15.147/24,gw=192.168.15.1
61 Reduce the memory of the container to 512MB
63 pct set -memory 512 100
68 '/etc/pve/lxc/<vmid>.conf'::
70 Configuration file for the container <vmid>
76 - Simple, and fully integrated into {pve}. Setup looks similar to a normal
79 * Storage (ZFS, LVM, NFS, Ceph, ...)
87 - Fast: minimal overhead, as fast as bare metal
89 - High density (perfect for idle workloads)
93 - Direct hardware access
99 - Integrated into {pve} graphical user interface (GUI)
101 - LXC (https://linuxcontainers.org/)
103 - cgmanager for cgroup management
105 - lxcfs to provive containerized /proc file system
109 - CRIU: for live migration (planned)
111 - We use latest available kernels (4.2.X)
113 - image based deployment (templates)
115 - Container setup from host (Network, DNS, Storage, ...)
119 include::pve-copyright.adoc[]