]> git.proxmox.com Git - mirror_lxc.git/blame - doc/lxc.conf.sgml.in
Merge pull request #3472 from brauner/2020-07-03/fixes
[mirror_lxc.git] / doc / lxc.conf.sgml.in
CommitLineData
f79d43bb 1<!--
8a67a2b2 2
3lxc: linux Container library
4
55fc19a1 5(C) Copyright Canonical Ltd. 2014
8a67a2b2 6
7Authors:
55fc19a1 8Stéphane Graber <stgraber@ubuntu.com>
8a67a2b2 9
10This library is free software; you can redistribute it and/or
11modify it under the terms of the GNU Lesser General Public
12License as published by the Free Software Foundation; either
13version 2.1 of the License, or (at your option) any later version.
14
15This library is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public
21License along with this library; if not, write to the Free Software
250b1eec 22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8a67a2b2 23
24-->
25
7f951458 26<!DOCTYPE refentry PUBLIC @docdtd@ [
99e4008c
MN
27
28<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
29]>
8a67a2b2 30
31<refentry>
32
33 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
34
35 <refmeta>
36 <refentrytitle>lxc.conf</refentrytitle>
37 <manvolnum>5</manvolnum>
38 </refmeta>
39
40 <refnamediv>
41 <refname>lxc.conf</refname>
42
43 <refpurpose>
55fc19a1 44 Configuration files for LXC.
8a67a2b2 45 </refpurpose>
46 </refnamediv>
47
48 <refsect1>
49 <title>Description</title>
50
51 <para>
55fc19a1
SG
52 LXC configuration is split in two parts. Container configuration
53 and system configuration.
8a67a2b2 54 </para>
55
c6883f38 56 <refsect2>
55fc19a1 57 <title>Container configuration</title>
c6883f38 58 <para>
55fc19a1
SG
59 The container configuration is held in the
60 <filename>config</filename> stored in the container's
61 directory.
c6883f38 62 </para>
64f782ca 63
fe4de9a6 64 <para>
55fc19a1
SG
65 A basic configuration is generated at container creation time
66 with the default's recommended for the chosen template as well
67 as extra default keys coming from the
68 <filename>default.conf</filename> file.
fe4de9a6 69 </para>
fe4de9a6 70
64f782ca 71 <para>
55fc19a1
SG
72 That <filename>default.conf</filename> file is either located
73 at <filename>@LXC_DEFAULT_CONFIG@</filename> or for
74 unprivileged containers at
75 <filename>~/.config/lxc/default.conf</filename>.
64f782ca 76 </para>
64f782ca 77
f6d3e3e4 78 <para>
55fc19a1
SG
79 Details about the syntax of this file can be found in:
80 <citerefentry>
81 <refentrytitle><command>lxc.container.conf</command></refentrytitle>
82 <manvolnum>5</manvolnum>
83 </citerefentry>
f6d3e3e4 84 </para>
f6d3e3e4
SH
85 </refsect2>
86
472c97e9 87 <refsect2>
55fc19a1 88 <title>System configuration</title>
64f782ca 89 <para>
55fc19a1
SG
90 The system configuration is located at
91 <filename>@LXC_GLOBAL_CONF@</filename> or
92 <filename>~/.config/lxc/lxc.conf</filename> for unprivileged
93 containers.
64f782ca 94 </para>
472c97e9 95
f7bee6c6 96 <para>
55fc19a1
SG
97 This configuration file is used to set values such as default
98 lookup paths and storage backend settings for LXC.
f7bee6c6 99 </para>
8a67a2b2 100
b78b2125 101 <para>
55fc19a1
SG
102 Details about the syntax of this file can be found in:
103 <citerefentry>
104 <refentrytitle><command>lxc.system.conf</command></refentrytitle>
105 <manvolnum>5</manvolnum>
106 </citerefentry>
ac7725e7 107 </para>
8a67a2b2 108 </refsect2>
8a67a2b2 109 </refsect1>
110
111 <refsect1>
112 <title>See Also</title>
f79d43bb 113 <simpara>
8a67a2b2 114 <citerefentry>
55fc19a1
SG
115 <refentrytitle><command>lxc</command></refentrytitle>
116 <manvolnum>1</manvolnum>
8a67a2b2 117 </citerefentry>,
8a67a2b2 118 <citerefentry>
55fc19a1
SG
119 <refentrytitle><command>lxc.container.conf</command></refentrytitle>
120 <manvolnum>5</manvolnum>
8a67a2b2 121 </citerefentry>,
8a67a2b2 122 <citerefentry>
55fc19a1
SG
123 <refentrytitle><command>lxc.system.conf</command></refentrytitle>
124 <manvolnum>5</manvolnum>
6320e494 125 </citerefentry>,
6320e494 126 <citerefentry>
55fc19a1
SG
127 <refentrytitle><command>lxc-usernet</command></refentrytitle>
128 <manvolnum>5</manvolnum>
6320e494 129 </citerefentry>
8a67a2b2 130 </simpara>
131 </refsect1>
f79d43bb 132
8a67a2b2 133 <refsect1>
134 <title>Author</title>
55fc19a1 135 <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
8a67a2b2 136 </refsect1>
8a67a2b2 137</refentry>
138
139<!-- Keep this comment at the end of the file
140Local variables:
141mode: sgml
142sgml-omittag:t
143sgml-shorttag:t
144sgml-minimize-attributes:nil
145sgml-always-quote-attributes:t
146sgml-indent-step:2
147sgml-indent-data:t
148sgml-parent-document:nil
149sgml-default-dtd-file:nil
150sgml-exposed-tags:nil
151sgml-local-catalogs:nil
152sgml-local-ecat-files:nil
153End:
154-->