[lxc-users] Issue to fix

Stéphane Graber stgraber at ubuntu.com
Thu May 1 18:04:40 UTC 2014


On Thu, May 01, 2014 at 01:56:40PM -0400, CDR wrote:
> If some4body is working on the new release, please consider this problem.
> Sometimes we need to start a container like this
> lxc-start -n container, not as daemon, to see error messages
> if we do that, then there is no way to get out, i.e., Ctrl-A-q does not work.
> There should be a way to go back the parent OS.

That's simply not possible. When you don't pass -d the container is
directly attached to the parent console, we can't detach it from it.

You may however be able to get something similar by passing -L to
lxc-start or by attaching to tty0 with lxc-console -n container -t 0

> 
> Also, if by any chance your container has an application running under
> screen, and you access it via screen -x, there is no way out either of
> screen, because Ctrl-A is used by the container's console.
> 
> We should use key combinations identical to libvirt, Ctrl-], which is unique.

The hotkey is configurable so you can easy change it to something which
doesn't conflict with whatever software you are running.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140501/33b258af/attachment.sig>


More information about the lxc-users mailing list