]> git.proxmox.com Git - pve-docs.git/blob - pct.conf.adoc
pve-docs-mediawiki-import: import new pve-disk-health-monitoring page
[pve-docs.git] / pct.conf.adoc
1 ifdef::manvolnum[]
2 PVE({manvolnum})
3 ================
4 include::attributes.txt[]
5
6 NAME
7 ----
8
9 pct.conf - Proxmox VE Container Configuration
10
11
12 SYNOPSIS
13 --------
14
15 `/etc/pve/lxc/<CTID>.conf`
16
17
18 DESCRIPTION
19 -----------
20 endif::manvolnum[]
21
22 ifndef::manvolnum[]
23 Container Configuration
24 =======================
25 include::attributes.txt[]
26 endif::manvolnum[]
27
28 The `/etc/pve/lxc/<CTID>.conf` files stores container configuration,
29 where `CTID` is the numeric ID of the given container.
30
31 NOTE: IDs <= 100 are reserved for internal purposes.
32
33
34 File Format
35 -----------
36
37 The file uses a simple colon separated key/value format. Each line has
38 the following format:
39
40 OPTION: value
41
42 Blank lines in the file are ignored, and lines starting with a `#`
43 character are treated as comments and are also ignored.
44
45 One can use the `pct` command to generate and modify those files.
46
47 It is also possible to add low-level LXC-style configuration directly, for
48 example:
49
50 lxc.init_cmd: /sbin/my_own_init
51
52 or
53
54 lxc.init_cmd = /sbin/my_own_init
55
56 Those settings are directly passed to the LXC low-level tools.
57
58
59 Options
60 -------
61
62 include::pct.conf.5-opts.adoc[]
63
64
65 ifdef::manvolnum[]
66 include::pve-copyright.adoc[]
67 endif::manvolnum[]