[lxc-users] lxc-destroy failure while deleting rootfs for container

Serge Hallyn serge.hallyn at ubuntu.com
Fri Nov 21 05:26:09 UTC 2014


Quoting Shivraj Ghatkar (shivraj2084 at gmail.com):
> Hi Serge
> 
> Please find the attached files that you requested.

Thanks.  Those look fine.  So I tried to reproduce it here just now, by doing

sudo lxc-create -n cap_a -t download -- -d ubuntu -r trusty -a amd64
sudo lxc-create -n cap_b -t download -- -d ubuntu -r trusty -a amd64
sudo mkdir /shared
sudo mount --bind /shared /shared
sudo mount --make-rshared /shared
sudo mkdir /shared/cap_a /shared/cap_b
echo "lxc.mount.entry = /shared/cap_a shared none bind,create=dir 0 0" >> /var/lib/lxc/cap_a/config
echo "lxc.mount.entry = /shared/cap_b shared none bind,create=dir 0 0" >> /var/lib/lxc/cap_b/config

Starting, stopping and deleteing the containers doesn't seem to be
wreaking any havoc, though.

Could you show your container configurations?


More information about the lxc-users mailing list