<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Divya,<br>
<br>
thank you for the suggestion. If I try:<br>
<br>
lxc-destroy -n centos/6<br>
<br>
I get: <br>
<br>
Container is not defined<br>
<br>
Valerio <br>
<br>
<div class="moz-cite-prefix">On 29.07.2015 10:59, Divya Vyas wrote:<br>
</div>
<blockquote
cite="mid:CAGfiMvCA_WQEvJ75ndjTnwC_4jJwDi0nyccUedDiTyA6jdJdgA@mail.gmail.com"
type="cite">
<pre wrap="">lxc-destroy should do that
On Wed, Jul 29, 2015 at 2:24 PM, Valerio Mariani <a class="moz-txt-link-rfc2396E" href="mailto:valerio.mariani@gmx.de"><valerio.mariani@gmx.de></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Dear All,
I am trying to delete all containers from my system. If I type lxc
list, I see:
vmariani@cfeld-valerio2:~/Downloads$ lxc list
+----------+---------+------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
+----------+---------+------+------+-----------+-----------+
| centos/6 | STOPPED | | | NO | 0 |
+----------+---------+------+------+-----------+-----------+
However, if I try to delete it with lxc delete centos/6, I get:
error: not found
This is lxc version 0.14
I realize I can delete the container by deleting the rootfs, but I am
afraid that will leave the config data in the database. Is there a way
to delete this container?
Thank you for your help
Valerio
_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
</blockquote>
<br>
</body>
</html>