[Lxc-users] need sudo to see running containers with lxc-list?
nathan w
nathan at nathanewilliams.com
Wed May 16 14:40:09 UTC 2012
any info on why this would be? not that this is too horrible to deal
with, but it is confusing to have lxc-list return empty results instead
of an informative message that "you may not see everything" or "need
more permissions". maybe i'm doing something wrong? i created these as
standard (sudo lxc-create -t xxxxx -n xxxxx). note that the stopped
containers show up without root privs (weird).
$ lxc-list
RUNNING
STOPPED
$ sudo !!
sudo lxc-list
RUNNING
debian
local
STOPPED
$ sudo lxc-stop -n local
$ lxc-list
RUNNING
STOPPED
debian
local
thanks,
Nathan W
More information about the lxc-users
mailing list