3 lxc: linux Container library
5 (C) Copyright IBM Corp. 2007, 2008
8 Daniel Lezcano <daniel.lezcano at free.fr>
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.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 <!DOCTYPE refentry PUBLIC @docdtd@ [
28 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
29 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
34 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
37 <refentrytitle>lxc-destroy</refentrytitle>
38 <manvolnum>1</manvolnum>
42 <refname>lxc-destroy</refname>
51 <command>lxc-destroy</command>
52 <arg choice="req">-n <replaceable>name</replaceable></arg>
53 <arg choice="opt">-f</arg>
54 <arg choice="opt">-s</arg>
59 <title>Description</title>
62 <command>lxc-destroy</command> destroys the system object
63 previously created by the <command>lxc-create</command> command.
70 <title>Options</title>
75 <option>-f, --force</option>
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.
86 <term><option>-s, --snapshots</option></term>
89 destroy the specified container including all its snapshots.
100 <title>Diagnostic</title>
105 <term>The container was not found</term>
108 The specified container for destruction was not found. It
109 is probable it does not exists and was already
110 destroyed.You can use the <command>lxc-ls</command>
111 command to list the available containers on the system.
123 <title>Author</title>
124 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
129 <!-- Keep this comment at the end of the file
134 sgml-minimize-attributes:nil
135 sgml-always-quote-attributes:t
138 sgml-parent-document:nil
139 sgml-default-dtd-file:nil
140 sgml-exposed-tags:nil
141 sgml-local-catalogs:nil
142 sgml-local-ecat-files:nil