On Tue, Sep 20, 2016 at 10:51 AM, John Y. <wjseven1...@gmail.com> wrote:

> before craete a container:
>
> #lxc-ls
> show nothing
>


> 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?
>
>
Short version: switch to lxc 2, or at least anything that supports "-f"
switch :)

"-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).

-- 
Fajar
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to