1lxc-destroy(1)                                                  lxc-destroy(1)
2
3
4

NAME

6       lxc-destroy - destroy a container.
7

SYNOPSIS

9       lxc-destroy {-n name} [-f] [-s]
10

DESCRIPTION

12       lxc-destroy  destroys  the system object previously created by the lxc-
13       create command.
14

OPTIONS

16       -f, --force
17              If a container is running, stop it first. If this option is  not
18              specified and the container is running, then lxc-destroy will be
19              aborted.
20
21       -s, --snapshots
22              destroy the specified container including all its snapshots.
23

COMMON OPTIONS

25       These options are common to most of lxc commands.
26
27       -?, -h, --help
28              Print a longer usage message than normal.
29
30       --usage
31              Give the usage message
32
33       -q, --quiet
34              mute on
35
36       -P, --lxcpath=PATH
37              Use an alternate container path. The default is /var/lib/lxc.
38
39       -o, --logfile=FILE
40              Output to an alternate log FILE. The default is no log.
41
42       -l, --logpriority=LEVEL
43              Set log priority to LEVEL. The default log  priority  is  ERROR.
44              Possible  values  are  : FATAL, CRIT, WARN, ERROR, NOTICE, INFO,
45              DEBUG.
46
47              Note that this option is setting the priority of the events  log
48              in  the  alternate  log file. It do not have effect on the ERROR
49              events log on stderr.
50
51       -n, --name=NAME
52              Use container identifier NAME.  The container identifier  format
53              is an alphanumeric string.
54
55       --rcfile=FILE
56              Specify  the  configuration file to configure the virtualization
57              and isolation functionalities for the container.
58
59              This configuration file if present will be used even if there is
60              already  a  configuration file present in the previously created
61              container (via lxc-create).
62
63       --version
64              Show the version number.
65

DIAGNOSTIC

67       The container was not found
68              The specified container for destruction was  not  found.  It  is
69              probable  it  does  not exists and was already destroyed.You can
70              use the lxc-ls command to list the available containers  on  the
71              system.
72

SEE ALSO

74       lxc(7),  lxc-create(1), lxc-copy(1), lxc-destroy(1), lxc-start(1), lxc-
75       stop(1), lxc-execute(1), lxc-console(1),  lxc-monitor(1),  lxc-wait(1),
76       lxc-cgroup(1),  lxc-ls(1), lxc-info(1), lxc-freeze(1), lxc-unfreeze(1),
77       lxc-attach(1), lxc.conf(5)
78

AUTHOR

80       Daniel Lezcano <daniel.lezcano@free.fr>
81
82
83
84                                  2019-09-09                    lxc-destroy(1)
Impressum