>Does anyone know about a way to start a container, watch the messages of
>the services started and any output of the scripts, but when startup is
>finished returning to the shell, as if you had used -d?

The way I do this is to use "screen". Not quite what you want but does
allow you to see the output, drop to the shell any time and even go back
into the container's console to see its shutdown messages.

# screen -dmS mycontainer lxc-start -n mycontainer && screen -x mycontainer

To exit the container console, do Control-A then D.

To re-enter the container console, do 

# screen -x mycontainer

Hope that helps.

--------------------------------------------------------------------
mail2web LIVE – Free email based on Microsoft® Exchange technology -
http://link.mail2web.com/LIVE



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to