]>
Commit | Line | Data |
---|---|---|
d823d5b9 | 1 | <!-- |
2 | ||
3 | lxc: linux Container library | |
4 | ||
5 | (C) Copyright IBM Corp. 2007, 2008 | |
6 | ||
7 | Authors: | |
8 | Daniel Lezcano <dlezcano at fr.ibm.com> | |
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
23 | ||
24 | --> | |
25 | ||
99e4008c MN |
26 | <!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ |
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 | ||
86 | </refsect1> | |
87 | ||
d823d5b9 | 88 | <refsect1> |
89 | <title>Diagnostic</title> | |
90 | ||
91 | <variablelist> | |
92 | ||
93 | <varlistentry> | |
94 | <term>The container was not found</term> | |
95 | <listitem> | |
96 | <para> | |
97 | The specified container for destruction was not found. It | |
98 | is probable it does not exists and was already | |
99 | destroyed.You can use the <command>lxc-ls -l</command> | |
100 | command to list the available containers on the system. | |
101 | </para> | |
102 | </listitem> | |
103 | </varlistentry> | |
104 | ||
d823d5b9 | 105 | </variablelist> |
106 | ||
107 | </refsect1> | |
108 | ||
99e4008c | 109 | &seealso; |
d823d5b9 | 110 | |
111 | <refsect1> | |
112 | <title>Author</title> | |
113 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
114 | </refsect1> | |
115 | ||
116 | </refentry> | |
117 | ||
118 | <!-- Keep this comment at the end of the file | |
119 | Local variables: | |
120 | mode: sgml | |
121 | sgml-omittag:t | |
122 | sgml-shorttag:t | |
123 | sgml-minimize-attributes:nil | |
124 | sgml-always-quote-attributes:t | |
125 | sgml-indent-step:2 | |
126 | sgml-indent-data:t | |
127 | sgml-parent-document:nil | |
128 | sgml-default-dtd-file:nil | |
129 | sgml-exposed-tags:nil | |
130 | sgml-local-catalogs:nil | |
131 | sgml-local-ecat-files:nil | |
132 | End: | |
133 | --> |