<div dir="ltr">Try this<br><br>find /cgroup/lxc/centos/6 -type d -delete<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 2:46 PM, Valerio Mariani <span dir="ltr"><<a href="mailto:valerio.mariani@gmx.de" target="_blank">valerio.mariani@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
The same!<br>
<br>
I also tried lxc-destroy -n 'centos/6'<br>
<br>
and <br>
<br>
lxc-destroy -n "centos/6"<span class="HOEnZb"><font color="#888888"><br>
<br>
Valerio</font></span><div><div class="h5"><br>
<br>
<div>On 29.07.2015 11:14, Florian Leparoux
wrote:<br>
</div>
<blockquote type="cite">And
lxc-destroy -n centos\/6 ?
<br>
<br>
<br>
Le 29/07/2015 11:13, Valerio Mariani a écrit :
<br>
<blockquote type="cite">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>
On 29.07.2015 10:59, Divya Vyas wrote:
<br>
<blockquote type="cite">lxc-destroy should do that
<br>
<br>
On Wed, Jul 29, 2015 at 2:24 PM, Valerio
Mariani<a href="mailto:valerio.mariani@gmx.de" target="_blank"><valerio.mariani@gmx.de></a>
<br>
wrote:
<br>
<br>
<blockquote type="cite">Dear All,
<br>
<br>
I am trying to delete all containers from my system. If
I type lxc
<br>
list, I see:
<br>
<br>
vmariani@cfeld-valerio2:~/Downloads$ lxc list
<br>
+----------+---------+------+------+-----------+-----------+
<br>
| NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
<br>
+----------+---------+------+------+-----------+-----------+
<br>
| centos/6 | STOPPED | | | NO | 0 |
<br>
+----------+---------+------+------+-----------+-----------+
<br>
<br>
However, if I try to delete it with lxc delete centos/6, I
get:
<br>
<br>
error: not found
<br>
<br>
This is lxc version 0.14
<br>
<br>
I realize I can delete the container by deleting the rootfs,
but I am
<br>
afraid that will leave the config data in the database. Is
there a way
<br>
to delete this container?
<br>
<br>
Thank you for your help
<br>
<br>
Valerio
<br>
_______________________________________________
<br>
lxc-users mailing list
<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a>
<br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
<br>
</blockquote>
<br>
<br>
_______________________________________________
<br>
lxc-users mailing list
<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a>
<br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
<br>
</blockquote>
<br>
<br>
<br>
_______________________________________________
<br>
lxc-users mailing list
<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a>
<br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
<br>
</blockquote>
<br>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
lxc-users mailing list
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br></blockquote></div><br></div>