[Lxc-users] lxc-ls and lxc-execute

Purcareata Bogdan-B43198 B43198 at freescale.com
Mon May 13 09:06:03 UTC 2013


Hello,

Should lxc-ls list containers created with lxc-execute as well? 

E.g. when running "lxc-execute -n ctx1 /bin/bash", you may run "lxc-info -n ctx1" and it will output

state:   RUNNING
pid:      4063

but when issuing "lxc-ls", nothing will be printed. Is this normal? I noticed that the container is present when issuing "lxc-ls --active".

So lxc-ls (with no params) lists only the containers created with lxc-create, while "lxc-ls --active" lists both containers created with lxc-create (that are running) and those created with lxc-execute?

Thank you very much,
Bogdan P.






More information about the lxc-users mailing list