Hello, I haven't read the code, but it seems lxc-destroy checks if there's a 'snaps' directory and if it exists the code asumes there's at least one snapshot.
nbensa@tecno04:~$ sudo lxc-destroy -n eleva [sudo] password for nbensa: Destroying eleva failed: eleva has snapshots. nbensa@tecno04:~$ sudo rmdir /var/lib/lxc/eleva/snaps nbensa@tecno04:~$ sudo lxc-destroy -n eleva Destroyed container eleva nbensa@tecno04:~$ dpkg -l | grep lxc ii liblxc1 2.0.8-0ubuntu6~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (library) ii lxc 2.0.8-0ubuntu6~ubuntu16.04.1~ppa1 all Transitional package for lxc1 ii lxc-common 2.0.8-0ubuntu6~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (common tools) ii lxc-templates 2.0.8-0ubuntu6~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (templates) ii lxc1 2.0.8-0ubuntu6~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools ii lxcfs 2.0.7-0ubuntu5~ubuntu16.04.1~ppa1 amd64 FUSE based filesystem for LXC ii python3-lxc 2.0.8-0ubuntu6~ubuntu16.04.1~ppa1 amd64 Linux Containers userspace tools (Python 3.x bindings) _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
