]> git.proxmox.com Git - mirror_lxc.git/blob - doc/common_options.sgml.in
Merge pull request #3904 from hallyn/2021-07-14/mantypo
[mirror_lxc.git] / doc / common_options.sgml.in
1 <!--
2
3 lxc: linux Container library
4
5 (C) Copyright IBM Corp. 2007, 2008
6
7 Authors:
8 Daniel Lezcano <daniel.lezcano at free.fr>
9
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.
14
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.
19
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
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
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
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 :
86 <literal>FATAL</literal>, <literal>ALERT</literal>,
87 <literal>CRIT</literal>,
88 <literal>WARN</literal>, <literal>ERROR</literal>,
89 <literal>NOTICE</literal>, <literal>INFO</literal>,
90 <literal>DEBUG</literal>, <literal>TRACE</literal>.
91 </para>
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>
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>
109
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
125 <varlistentry>
126 <term><option>--version</option></term>
127 <listitem>
128 <para>
129 Show the version number.
130 </para>
131 </listitem>
132 </varlistentry>
133 </variablelist>
134
135 </refsect1>
136
137 <!-- Keep this comment at the end of the file
138 Local variables:
139 mode: sgml
140 sgml-omittag:t
141 sgml-shorttag:t
142 sgml-minimize-attributes:nil
143 sgml-always-quote-attributes:t
144 sgml-indent-step:2
145 sgml-indent-data:t
146 sgml-parent-document:nil
147 sgml-default-dtd-file:nil
148 sgml-exposed-tags:nil
149 sgml-local-catalogs:nil
150 sgml-local-ecat-files:nil
151 End:
152 -->