All the LXC commands default to tracking a single lxcpath which is
/var/lib/lxc or whatever you set as lxc.lxcpath in /etc/lxc/lxc.conf
It is actually a feature that LXC will not attempt to keep track of
containers outside that path because that's what we expect other
container managers (like LXD) to do.
There have been talks to support a list of lxc paths separated by a
colon in lxc.lxcpath and as an argument of -P which will allow LXC to
keep track of containers in multiple paths but that's still being
discussed and there are problems with that which still need to be
thought through.
Anyway, all that to say, LXC upstream has absolutely no interest in keeping
track of all containers on the system, if the user manually created containers
outside of the lxcpath which LXC tracks, we assume they've done so on purpose
and so will not interfere.
** Changed in: lxc (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1424233
Title:
RFE lxc: lxc should do a better jon of housekeeping containers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1424233/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs