[Lxc-users] Output from init in daemon mode

Serge E. Hallyn serge.hallyn at canonical.com
Mon Oct 24 02:55:19 UTC 2011


Quoting Ryan Campbell (ryan.campbell at gmail.com):
> I have an sshd container that I'm starting up in daemon mode:
> 
>  lxc-start -n sshd -d -l DEBUG -o /tmp/lxc.log
> 
> I'd like to be able to see the output from the container's init process, but
> I don't see this in the log file.  Is this a bug?  Where is this output
> going?

Try '-c consolefile'.  Manpage says that should work.  (Or don't do -d and
read the console output from your terminal).

-serge




More information about the lxc-users mailing list