3 lxc: linux Container library
5 (C) Copyright Canonical Ltd. 2014
8 Stéphane Graber <stgraber@ubuntu.com>
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 <!DOCTYPE refentry PUBLIC @docdtd@ [
28 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
33 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
36 <refentrytitle>lxc.conf</refentrytitle>
37 <manvolnum>5</manvolnum>
41 <refname>lxc.conf</refname>
44 Configuration files for LXC.
49 <title>Description</title>
52 LXC configuration is split in two parts. Container configuration
53 and system configuration.
57 <title>Container configuration</title>
59 The container configuration is held in the
60 <filename>config</filename> stored in the container's
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.
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>.
79 Details about the syntax of this file can be found in:
81 <refentrytitle><command>lxc.container.conf</command></refentrytitle>
82 <manvolnum>5</manvolnum>
88 <title>System configuration</title>
90 The system configuration is located at
91 <filename>@LXC_GLOBAL_CONF@</filename> or
92 <filename>~/.config/lxc/lxc.conf</filename> for unprivileged
97 This configuration file is used to set values such as default
98 lookup paths and storage backend settings for LXC.
102 Details about the syntax of this file can be found in:
104 <refentrytitle><command>lxc.system.conf</command></refentrytitle>
105 <manvolnum>5</manvolnum>
112 <title>See Also</title>
115 <refentrytitle><command>lxc</command></refentrytitle>
116 <manvolnum>1</manvolnum>
119 <refentrytitle><command>lxc.container.conf</command></refentrytitle>
120 <manvolnum>5</manvolnum>
123 <refentrytitle><command>lxc.system.conf</command></refentrytitle>
124 <manvolnum>5</manvolnum>
127 <refentrytitle><command>lxc-usernet</command></refentrytitle>
128 <manvolnum>5</manvolnum>
134 <title>Author</title>
135 <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
139 <!-- Keep this comment at the end of the file
144 sgml-minimize-attributes:nil
145 sgml-always-quote-attributes:t
148 sgml-parent-document:nil
149 sgml-default-dtd-file:nil
150 sgml-exposed-tags:nil
151 sgml-local-catalogs:nil
152 sgml-local-ecat-files:nil