<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 20, 2016 at 10:51 AM, John Y. <span dir="ltr"><<a href="mailto:wjseven1707@gmail.com" target="_blank">wjseven1707@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">before craete a container:<div><br></div><div>#lxc-ls</div><div>show nothing</div><div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>1. Why there are some lxc still in lxc-ls when I use `lxc-stop -n test2 -k` (or use `kill -9 pid`) to stop it?2. How to remove these unused lxc info?</div><div><br></div></div></blockquote><div><br></div><div>Short version: switch to lxc 2, or at least anything that supports "-f" switch :)</div><div><br></div><div>"-f" (or --fancy) shows the container state as well, whether is running (which is what appens after lxc-start) or stopped (which is what happens after lxc-stop).</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>