[lxc-users] Stopping a container

Alvaro Miranda Aguilera kikitux at gmail.com
Thu Jan 16 20:47:26 UTC 2014


what's the time if you shutdown the container from inside?

time lxc-attach -n fedoraCT1 poweroff




On Fri, Jan 17, 2014 at 9:31 AM, David Shwatrz <dshwatrz at gmail.com> wrote:

> Hello, lxc-users,
>
> I created a container using the fedora template with the latest git
> LXC tree, on Fedora 20.
>
> I use the standard configuration, with veth for networking.
> Starting the container is very quick and it is done by:
> lxc-start -n fedoraCT1
>
> Stopping the container by
> lxc-stop -n fedoraCT1
> takes more than a minute. I ran:
>
> time lxc-stop -n fedoraCT1
>
> and got:
> real 1m0.985s
> user 0m0.002s
> sys 0m0.004s
>
> Is this normal/expected behavior with other containers, based on
> different templates (like ubuntu/debian)?
>
>
> regards,
> DavidS
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140117/040e89d1/attachment.html>


More information about the lxc-users mailing list