News for hackers. Stuff that matters.
Re:Docker 1.10.0 is out by nemothekid on Friday February 05, 2016 @03:00AM (#11040197)
Whats advantage of having a "supervisor" inside the container, rather than just "supervising" the container itself?
Re:Docker 1.10.0 is out by cyphar on Friday February 05, 2016 @08:45AM (#11041294)
Because "only one process in a container" is a dangerous rule (because it has so many exceptions). In certain cases, that idea makes sense, but you shouldn't contort your app such that you only have one process in every container. Not to mention that there are other issues (PID 1 has unique problems that databases and your app aren't used to having to deal with).
Re:Docker 1.10.0 is out by sandGorgon on Friday February 05, 2016 @05:16AM (#11040564)
maybe you should read this [1]. We have always run all processes under a supervisor.

[1] https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zomb...

Re:Docker 1.10.0 is out by ymt123 on Friday February 05, 2016 @06:43AM (#11040824)
I think this was the problem [1] was targeting [1] http://engineeringblog.yelp.com/2016/01/dumb-init-an-init-fo...
Re:Docker 1.10.0 is out by sandGorgon on Friday February 05, 2016 @10:41AM (#11042095)
One of many.

Which is why u think might as well get systemd working on docker...

Re:Docker 1.10.0 is out by nemothekid on Friday February 05, 2016 @01:50PM (#11043660)
I see, so it looks like if your process spawns other processes and doesn't reap them when they die, you end up in trouble with zombie processes in docker.