matt wilkie's picture

To answer Q from earlier, it looks like the lxc-create containers go to `/var/lib/lxc`.

Lxc-ls only shows 1 container. I tried to remove it with lxc-destroy but am told it's still running. Lxc-stop ran successfully, at least it reported no error. Lxc-destroy again but again a "domain-controller is running" message. Running lxc-stop a 2nd time did the trick, but then once again lxc-destroy says container is still operating. `lxc-ls --full` confirms container is running.

root@lxc ~# lxc-ls -f
NAME              STATE   AUTOSTART GROUPS IPV4 IPV6
domain-controller RUNNING 0         -      -    -
root@lxc ~# lxc-stop -n domain-controller
root@lxc ~# lxc-ls -f
NAME              STATE   AUTOSTART GROUPS IPV4 IPV6
domain-controller STOPPED 0         -      -    -
root@lxc ~# lxc-destroy -n domain-controller
Container domain-controller not connected:
domain-controller is running
root@lxc ~# lxc-ls -f
NAME              STATE   AUTOSTART GROUPS IPV4 IPV6
domain-controller RUNNING 0         -      -    -
root@lxc ~#