Hi !
I'm not sure, but , this is kind of the purpose of lxc-execute, to start a
container with an alternate init.
lxc-start does explicitly start /sbini/init, I'm not sure whether it's
overwritable or not.
(https://github.com/lxc/lxc/blob/master/src/lxc/lxc_start.c#L151)
IIRC, what docker does, is they put their daemon in place of /sbin/init,
which might also work for you !

--
Sam

On Thu, Oct 17, 2013 at 10:13 PM, Vijay Viswanathan
<vijay.vi...@gmail.com>wrote:

> Does lxc always needs init in the rootfs ?
>
> if I want to avoid init process and start my own daemon what should i do
> as part of my daemon initialization ?
>
> Thx.
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to