On 01/29/2016 07:24 AM, Serge Hallyn wrote:
> Hm, well at least
>
> nohup lxc exec container -- sleep 2h &
>
> works for me.  I would have expected --mode=non-interactive to
> work, but it doesn't.

I was wondering the very same thing yesterday evening.
I noticed the non-interactive mode actually does something different: if
you ctrl-c, the stdout output will stop but the command will keep
running inside the container. The command dies on ctrl-c if you use the
default mode.
Now, if only all commands had a "silent" or "quiet" mode... I'm using
this to generate a dhparams file via openssl and there's no "silent" mode.

--


Nicola Volpini
Infrastructure Operations Engineer


CONFIDENTIALITY NOTICE: This email message (and any attachment) is intended 
only for the individual or entity to which it is addressed. The information in 
this email is confidential and may contain information that is legally 
privileged or exempt from disclosure under applicable law. If you are not the 
intended recipient, you are strictly prohibited from reading, using, publishing 
or disseminating such information and upon receipt, must permanently delete the 
original and destroy any copies. We take steps to protect against viruses and 
other defects but advise you to carry out your own checks and precautions as 
Kambi does not accept any liability for any which remain. Thank you for your 
co-operation.
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to