[Lxc-users] lxc-destroy erase rootfs

Roland Neary neary at stone-it.com
Thu Feb 7 23:27:09 UTC 2013


As it's so easy to redo a container I've come to love the lxc-destroy command.

Having said that, the huge pitfall is of course user expectation. The first time I looked at it it did exactly what I wanted, not what I thought it would do. 




Regards,

Roland Neary


-----Original message-----
From: Papp Tamas <tompos at martos.bme.hu>
Sent: Fri 08-Feb-2013 00:19
To: Roland Neary <neary at stone-it.com>
Cc: Christoph Willing <cwilling at users.sourceforge.net>; lxc-users at lists.sourceforge.net
Subject: Re: [Lxc-users] lxc-destroy erase rootfs


On 02/08/2013 12:10 AM, Roland Neary wrote:
> Sorry to hear you b0rked your setup. Are you perhaps a Xen user who found out that `'xm destroy` !=
> lxc-destroy?
>
> If so, you're probably not the first....

Actually neither xen, nor virsh destroys _data_ and until v0.7 (or v0.8?) lxc does it only if it was 
in /var/lib/lxc.

I'm and lxc user and that's why I'm surprised.

tamas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130208/a14b121e/attachment.html>


More information about the lxc-users mailing list