]>
Commit | Line | Data |
---|---|---|
f79d43bb | 1 | <!-- |
d823d5b9 | 2 | |
3 | lxc: linux Container library | |
4 | ||
5 | (C) Copyright IBM Corp. 2007, 2008 | |
6 | ||
7 | Authors: | |
9afe19d6 | 8 | Daniel Lezcano <daniel.lezcano at free.fr> |
d823d5b9 | 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 | |
250b1eec | 22 | Foundation, 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> | |
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> | |
7f951458 DE |
84 | <varlistentry> |
85 | <term><option>-P, --lxcpath=<replaceable>PATH</replaceable></option></term> | |
86 | <listitem> | |
87 | <para> | |
88 | Use an alternate container path. The default is @LXCPATH@. | |
89 | </para> | |
90 | </listitem> | |
91 | </varlistentry> | |
1305dd24 SH |
92 | </variablelist> |
93 | ||
94 | </refsect1> | |
95 | ||
d823d5b9 | 96 | <refsect1> |
97 | <title>Diagnostic</title> | |
98 | ||
99 | <variablelist> | |
100 | ||
101 | <varlistentry> | |
102 | <term>The container was not found</term> | |
103 | <listitem> | |
104 | <para> | |
105 | The specified container for destruction was not found. It | |
106 | is probable it does not exists and was already | |
107 | destroyed.You can use the <command>lxc-ls -l</command> | |
108 | command to list the available containers on the system. | |
109 | </para> | |
110 | </listitem> | |
f79d43bb | 111 | </varlistentry> |
d823d5b9 | 112 | |
d823d5b9 | 113 | </variablelist> |
114 | ||
115 | </refsect1> | |
116 | ||
99e4008c | 117 | &seealso; |
d823d5b9 | 118 | |
119 | <refsect1> | |
120 | <title>Author</title> | |
121 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
122 | </refsect1> | |
123 | ||
124 | </refentry> | |
125 | ||
126 | <!-- Keep this comment at the end of the file | |
127 | Local variables: | |
128 | mode: sgml | |
129 | sgml-omittag:t | |
130 | sgml-shorttag:t | |
131 | sgml-minimize-attributes:nil | |
132 | sgml-always-quote-attributes:t | |
133 | sgml-indent-step:2 | |
134 | sgml-indent-data:t | |
135 | sgml-parent-document:nil | |
136 | sgml-default-dtd-file:nil | |
137 | sgml-exposed-tags:nil | |
138 | sgml-local-catalogs:nil | |
139 | sgml-local-ecat-files:nil | |
140 | End: | |
141 | --> |