[lxc-users] Some Questions.
Tamas Papp
tompos at martos.bme.hu
Thu Mar 13 19:14:18 UTC 2014
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 <http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140313/303f5fb0/attachment.html>
More information about the lxc-users
mailing list