]> git.proxmox.com Git - mirror_lxc.git/blame - doc/lxc-destroy.sgml.in
seccomp: coding style
[mirror_lxc.git] / doc / lxc-destroy.sgml.in
CommitLineData
f79d43bb 1<!--
d823d5b9 2
3lxc: linux Container library
4
5(C) Copyright IBM Corp. 2007, 2008
6
7Authors:
9afe19d6 8Daniel Lezcano <daniel.lezcano at free.fr>
d823d5b9 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
d823d5b9 23
24-->
25
7f951458 26<!DOCTYPE refentry PUBLIC @docdtd@ [
99e4008c 27
10fba81b 28<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
99e4008c
MN
29<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
30]>
d823d5b9 31
32<refentry>
33
34 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
35
36 <refmeta>
37 <refentrytitle>lxc-destroy</refentrytitle>
38 <manvolnum>1</manvolnum>
39 </refmeta>
40
41 <refnamediv>
42 <refname>lxc-destroy</refname>
43
44 <refpurpose>
45 destroy a container.
46 </refpurpose>
47 </refnamediv>
48
49 <refsynopsisdiv>
50 <cmdsynopsis>
b4578c5b
DE
51 <command>lxc-destroy</command>
52 <arg choice="req">-n <replaceable>name</replaceable></arg>
53 <arg choice="opt">-f</arg>
3635c5ee 54 <arg choice="opt">-s</arg>
d823d5b9 55 </cmdsynopsis>
56 </refsynopsisdiv>
57
58 <refsect1>
59 <title>Description</title>
60
61 <para>
becc0400
MN
62 <command>lxc-destroy</command> destroys the system object
63 previously created by the <command>lxc-create</command> command.
d823d5b9 64 </para>
65
66 </refsect1>
67
1305dd24
SH
68 <refsect1>
69
70 <title>Options</title>
71
72 <variablelist>
73 <varlistentry>
74 <term>
3635c5ee 75 <option>-f, --force</option>
1305dd24
SH
76 </term>
77 <listitem>
78 <para>
79 If a container is running, stop it first. If this option is
80 not specified and the container is running, then
81 <command>lxc-destroy</command> will be aborted.
82 </para>
83 </listitem>
84 </varlistentry>
7f951458 85 <varlistentry>
3635c5ee 86 <term><option>-s, --snapshots</option></term>
7f951458
DE
87 <listitem>
88 <para>
3635c5ee 89 destroy the specified container including all its snapshots.
7f951458
DE
90 </para>
91 </listitem>
92 </varlistentry>
1305dd24
SH
93 </variablelist>
94
95 </refsect1>
96
3635c5ee
KY
97 &commonoptions;
98
d823d5b9 99 <refsect1>
100 <title>Diagnostic</title>
101
102 <variablelist>
103
104 <varlistentry>
105 <term>The container was not found</term>
106 <listitem>
107 <para>
108 The specified container for destruction was not found. It
109 is probable it does not exists and was already
a600d021 110 destroyed.You can use the <command>lxc-ls</command>
d823d5b9 111 command to list the available containers on the system.
112 </para>
113 </listitem>
f79d43bb 114 </varlistentry>
d823d5b9 115
d823d5b9 116 </variablelist>
117
118 </refsect1>
119
99e4008c 120 &seealso;
d823d5b9 121
122 <refsect1>
123 <title>Author</title>
124 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
125 </refsect1>
126
127</refentry>
128
129<!-- Keep this comment at the end of the file
130Local variables:
131mode: sgml
132sgml-omittag:t
133sgml-shorttag:t
134sgml-minimize-attributes:nil
135sgml-always-quote-attributes:t
136sgml-indent-step:2
137sgml-indent-data:t
138sgml-parent-document:nil
139sgml-default-dtd-file:nil
140sgml-exposed-tags:nil
141sgml-local-catalogs:nil
142sgml-local-ecat-files:nil
143End:
144-->