On Tue, Sep 20, 2016 at 8:06 AM, John Y. <[email protected]> wrote:
> I run a container as: > lxc-start -n test2 -f /root/test.cfg > > I can get info by lxc-info > #lxc-info -n test2 > Name: test2 > State: RUNNING > PID: 15615 > CPU use: 1.62 seconds > BlkIO use: 8.00 KiB > Memory use: 19.91 MiB > KMem use: 0 bytes > > but lxc-ls show nothing: > #lxc-ls > #lxc-ls --active > #lxc-ls --running > > lxc-attach fail: > lxc-attach -n test2 > Error: container test2 is not defined > > Any idea? > > More info would be helpful, like - what distro/version - is the lxc package distro-provided, or self-compiled - do you have previous lxc installation on that server A common cause for this kind of behavior in other software, is that if you mix distro and compiled packages, or some old version still remain (e.g. in /usr/local/bin) from older installation. -- Fajar
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
