[lxc-users] lxc exec - is there a way to run command in the background?

Tomasz Chmielewski mangoo at wpkg.org
Fri Jan 29 04:11:36 UTC 2016


Is there a way to run the command in the background, when running "lxc 
exec"?

It doesn't seem to work for me.

# lxc exec container -- sleep 2h &
[2] 13566
#

[2]+  Stopped                 lxc exec container -- sleep 2h


This also doesn't work:

# lxc exec container -- "sleep 2h &"
#


Tomasz Chmielewski
http://wpkg.org



More information about the lxc-users mailing list