]> git.proxmox.com Git - mirror_lxc.git/blame - doc/lxc-destroy.sgml.in
add zfs support to lxc-create and lxc-destroy
[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
22Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
24-->
25
aa8d013e 26<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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>
d823d5b9 54 </cmdsynopsis>
55 </refsynopsisdiv>
56
57 <refsect1>
58 <title>Description</title>
59
60 <para>
becc0400
MN
61 <command>lxc-destroy</command> destroys the system object
62 previously created by the <command>lxc-create</command> command.
d823d5b9 63 </para>
64
65 </refsect1>
66
1305dd24
SH
67 <refsect1>
68
69 <title>Options</title>
70
71 <variablelist>
72 <varlistentry>
73 <term>
74 <option>-f</option>
75 </term>
76 <listitem>
77 <para>
78 If a container is running, stop it first. If this option is
79 not specified and the container is running, then
80 <command>lxc-destroy</command> will be aborted.
81 </para>
82 </listitem>
83 </varlistentry>
84 </variablelist>
85
66b50342
SH
86 <varlistentry>
87 <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term>
88 <listitem>
89 <para>
90 Use an alternate container path. The default is @LXCPATH@.
91 </para>
92 </listitem>
93 </varlistentry>
94
1305dd24
SH
95 </refsect1>
96
d823d5b9 97 <refsect1>
98 <title>Diagnostic</title>
99
100 <variablelist>
101
102 <varlistentry>
103 <term>The container was not found</term>
104 <listitem>
105 <para>
106 The specified container for destruction was not found. It
107 is probable it does not exists and was already
108 destroyed.You can use the <command>lxc-ls -l</command>
109 command to list the available containers on the system.
110 </para>
111 </listitem>
f79d43bb 112 </varlistentry>
d823d5b9 113
d823d5b9 114 </variablelist>
115
116 </refsect1>
117
99e4008c 118 &seealso;
d823d5b9 119
120 <refsect1>
121 <title>Author</title>
122 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
123 </refsect1>
124
125</refentry>
126
127<!-- Keep this comment at the end of the file
128Local variables:
129mode: sgml
130sgml-omittag:t
131sgml-shorttag:t
132sgml-minimize-attributes:nil
133sgml-always-quote-attributes:t
134sgml-indent-step:2
135sgml-indent-data:t
136sgml-parent-document:nil
137sgml-default-dtd-file:nil
138sgml-exposed-tags:nil
139sgml-local-catalogs:nil
140sgml-local-ecat-files:nil
141End:
142-->