Re:Your Docker image might be broken without you knowing it
by akerl_ on Wednesday February 19, 2014 @06:22AM
(#7263056)
Based on the points raised in your article, I ended up poking my own Docker images to get runit working on them. It looks like runit is A) pretty snazzy, and B) capable of being the init daemon. Am I missing some trade-off or issue there, that prevents it from being PID1 in your scenario?
[ Parent
| on HN ]
Re:Your Docker image might be broken without you knowing it
by FooBarWidget on Wednesday February 19, 2014 @04:44PM
(#7266455)
Yes. Runit does not correctly reap adopted child processes, which is why we run runit under my_init. My_init (or an alternative that behaves like my_init) is absolutely necessary for correct operation.