[lxc-users] lxc 2.0.4 lxc-ls show nothing and lxc-attach fail

John Y. wjseven1707 at gmail.com
Tue Sep 20 01:06:10 UTC 2016


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?

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160920/c91e3bff/attachment.html>


More information about the lxc-users mailing list