[lxc-users] Some Questions.

István Király LaKing at D250.hu
Thu Mar 13 20:54:29 UTC 2014


Thanks.

I think I remembered there is a kill function, just forgot that that is an
argument of lxc-stop.




On Thu, Mar 13, 2014 at 8:14 PM, Tamas Papp <tompos at martos.bme.hu> wrote:

>
> On 03/13/2014 08:06 PM, István Király wrote:
>
>
> lxcpath:
>
> I see, I can use this argument to place containers to different path's.
> Is there a general config that can set the default fedora path
> /usr/local/var/lib/lxc to some custom path? For now I need to use this
> argument every time, in every lxc command.
>
>
> echo "lxc.lxcpath=/some/custom/path" > /usr/local/etc/lxc/lxc.conf
>
> However, it's always better if you use distro packages.
>
>
>  lxc-kill
>
>  When running fedora containers on a fedora host, I see some situations
> where I would need to force to stop a container. I have a container running
> in a terminal at the login prompt, I use lxc-stop in another terminal
> window, and see the "Received SIGPWR." message, but nothing happens.
> lxc.info reports my container running, and I didnt find a way to shut it
> down. Is there a way to "hard reset" or "hard poweroff" a container?
>
>
> man lxc-stop
>
>        -k,--kill
>               Rather than requesting a clean shutdown of the container,
> explicitly kill all tasks in the container. This is the legacy lxc-stop
> behavior.
>
> Where did you get lxc-kill from?
>
>
> tamas
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>



-- 
István Király
+36 209 753 758
LaKing at D250.hu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140313/78f76edb/attachment.html>


More information about the lxc-users mailing list