]> git.proxmox.com Git - mirror_lxc.git/blame - doc/common_options.sgml.in
github: Update for main branch
[mirror_lxc.git] / doc / common_options.sgml.in
CommitLineData
14901127
DL
1<!--
2
3lxc: linux Container library
4
5(C) Copyright IBM Corp. 2007, 2008
6
7Authors:
9afe19d6 8Daniel Lezcano <daniel.lezcano at free.fr>
14901127
DL
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
14901127
DL
23
24-->
25
26<refsect1>
27 <title>Common Options</title>
28
29 <para>
30 These options are common to most of lxc commands.
31 </para>
32
33 <variablelist>
34 <varlistentry>
35 <term><option>-?, -h, --help</option></term>
36 <listitem>
37 <para>
38 Print a longer usage message than normal.
39 </para>
40 </listitem>
41 </varlistentry>
42 <varlistentry>
43 <term><option>--usage</option></term>
44 <listitem>
45 <para>
46 Give the usage message
47 </para>
48 </listitem>
49 </varlistentry>
50
51 <varlistentry>
52 <term><option>-q, --quiet</option></term>
53 <listitem>
54 <para>
55 mute on
56 </para>
57 </listitem>
58 </varlistentry>
59
67e571de
SG
60 <varlistentry>
61 <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
62 <listitem>
63 <para>
64 Use an alternate container path. The default is @LXCPATH@.
65 </para>
66 </listitem>
67 </varlistentry>
68
14901127
DL
69 <varlistentry>
70 <term><option>-o, --logfile=<replaceable>FILE</replaceable></option></term>
71 <listitem>
72 <para>
73 Output to an alternate log
74 <replaceable>FILE</replaceable>. The default is no log.
75 </para>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry>
80 <term><option>-l, --logpriority=<replaceable>LEVEL</replaceable></option></term>
81 <listitem>
82 <para>
83 Set log priority to
84 <replaceable>LEVEL</replaceable>. The default log
85 priority is <literal>ERROR</literal>. Possible values are :
44b87e81
SH
86 <literal>FATAL</literal>, <literal>ALERT</literal>,
87 <literal>CRIT</literal>,
14901127
DL
88 <literal>WARN</literal>, <literal>ERROR</literal>,
89 <literal>NOTICE</literal>, <literal>INFO</literal>,
44b87e81 90 <literal>DEBUG</literal>, <literal>TRACE</literal>.
14901127 91 </para>
7115cb78
MN
92 <para>
93 Note that this option is setting the priority of the events
94 log in the alternate log file. It do not have effect on the
95 ERROR events log on stderr.
96 </para>
14901127
DL
97 </listitem>
98 </varlistentry>
99
100 <varlistentry>
101 <term><option>-n, --name=<replaceable>NAME</replaceable></option></term>
102 <listitem>
103 <para>
104 Use container identifier <replaceable>NAME</replaceable>.
105 The container identifier format is an alphanumeric string.
106 </para>
107 </listitem>
108 </varlistentry>
7cab33b1 109
71d74a83
WB
110 <varlistentry>
111 <term><option>--rcfile=<replaceable>FILE</replaceable></option></term>
112 <listitem>
113 <para>
114 Specify the configuration file to configure the virtualization
115 and isolation functionalities for the container.
116 </para>
117 <para>
118 This configuration file if present will be used even if there is
119 already a configuration file present in the previously created
120 container (via lxc-create).
121 </para>
122 </listitem>
123 </varlistentry>
124
7cab33b1
KY
125 <varlistentry>
126 <term><option>--version</option></term>
127 <listitem>
128 <para>
129 Show the version number.
130 </para>
131 </listitem>
132 </varlistentry>
14901127
DL
133 </variablelist>
134
135</refsect1>
136
137<!-- Keep this comment at the end of the file
138Local variables:
139mode: sgml
140sgml-omittag:t
141sgml-shorttag:t
142sgml-minimize-attributes:nil
143sgml-always-quote-attributes:t
144sgml-indent-step:2
145sgml-indent-data:t
146sgml-parent-document:nil
147sgml-default-dtd-file:nil
148sgml-exposed-tags:nil
149sgml-local-catalogs:nil
150sgml-local-ecat-files:nil
151End:
152-->