[Lxc-users] regarding lxc "states" available to lxc-monitor or lxc-wait usage

Guido Jäkel G.Jaekel at DNB.DE
Thu May 9 15:09:41 UTC 2013


>> *Say I have a container app and I want to know when it has finished some
>> initialization task it would be great to be able to somehow utilize
>> lxc-monitor or to use lxc-wait in a script that looked for my "private
>> state" to be reported and then take some further action or initiate some
>> other activity.*
> 
> This reminds me of discussions in years past about 'service readiness'
> indication (i.e. for upstart).

Yes, it would be usefull if the container may signal to the host that the startup is finished and all services should have been started.


> I'm not sure how userspace in the container would go about informing the
> monitor of the new state.  Any ideas?

May one send signals to the container's init process?




More information about the lxc-users mailing list