[Lxc-users] init path in config

John lxc at jelmail.com
Fri Jun 7 08:45:37 UTC 2013


Good Morning,

Is there a config option available to specify the path of the executable 
to start in the container?

I don't want /sbin/init and I don't want to rely on a symlink inside the 
container.

I can specify it when starting a container like this "lxc-start -n 
mycontainer /path/to/executable" but I'd like to set that up in the 
container configs.

Something like "lxc.init = /user/lib/systemd/systemd"

(if such a config item exists, I couldn't find it documented in the man 
pages).

Thanks,
John





More information about the lxc-users mailing list