]> git.proxmox.com Git - mirror_lxc.git/blame - doc/common_options.sgml.in
Merge pull request #3505 from brauner/2020-08-05/safe_native_terminal_allocation
[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 :
86 <literal>FATAL</literal>, <literal>CRIT</literal>,
87 <literal>WARN</literal>, <literal>ERROR</literal>,
88 <literal>NOTICE</literal>, <literal>INFO</literal>,
89 <literal>DEBUG</literal>.
90 </para>
7115cb78
MN
91 <para>
92 Note that this option is setting the priority of the events
93 log in the alternate log file. It do not have effect on the
94 ERROR events log on stderr.
95 </para>
14901127
DL
96 </listitem>
97 </varlistentry>
98
99 <varlistentry>
100 <term><option>-n, --name=<replaceable>NAME</replaceable></option></term>
101 <listitem>
102 <para>
103 Use container identifier <replaceable>NAME</replaceable>.
104 The container identifier format is an alphanumeric string.
105 </para>
106 </listitem>
107 </varlistentry>
7cab33b1 108
71d74a83
WB
109 <varlistentry>
110 <term><option>--rcfile=<replaceable>FILE</replaceable></option></term>
111 <listitem>
112 <para>
113 Specify the configuration file to configure the virtualization
114 and isolation functionalities for the container.
115 </para>
116 <para>
117 This configuration file if present will be used even if there is
118 already a configuration file present in the previously created
119 container (via lxc-create).
120 </para>
121 </listitem>
122 </varlistentry>
123
7cab33b1
KY
124 <varlistentry>
125 <term><option>--version</option></term>
126 <listitem>
127 <para>
128 Show the version number.
129 </para>
130 </listitem>
131 </varlistentry>
14901127
DL
132 </variablelist>
133
134</refsect1>
135
136<!-- Keep this comment at the end of the file
137Local variables:
138mode: sgml
139sgml-omittag:t
140sgml-shorttag:t
141sgml-minimize-attributes:nil
142sgml-always-quote-attributes:t
143sgml-indent-step:2
144sgml-indent-data:t
145sgml-parent-document:nil
146sgml-default-dtd-file:nil
147sgml-exposed-tags:nil
148sgml-local-catalogs:nil
149sgml-local-ecat-files:nil
150End:
151-->