[lxc-users] Cannot delete container

Valerio Mariani valerio.mariani at gmx.de
Wed Jul 29 08:54:52 UTC 2015


Dear All,

   I am trying to delete all containers from my system. If I type lxc
list, I see:

vmariani at 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


More information about the lxc-users mailing list