Re:Alpine Linux Docker images have NULL for root password
by acct1771 on Wednesday May 08, 2019 @03:39PM
(#19862151)
My inability to personally audit systemd would be at the top of the list.
[ Parent
| on HN ]
Re:Alpine Linux Docker images have NULL for root password
by outworlder on Wednesday May 08, 2019 @04:43PM
(#19862716)
Why would anyone run an init system inside a container?
Just run the process. Let whatever is managing your container restart it if the process quits, be it docker or K8s.
Re:Alpine Linux Docker images have NULL for root password
by meddlepal on Wednesday May 08, 2019 @05:47PM
(#19863294)
Because sometimes it is easier to ship one thing to customers than 10 different images and several different run manifests.
There's plenty of other reasons.
Re:Alpine Linux Docker images have NULL for root password
by oliver_quartic on Wednesday May 08, 2019 @05:44PM
(#19863267)
Here is one reason: https://news.ycombinator.com/item?id=10852055 (TL;DR - default signal behaviour is different for PID 1).
[Edit - fix link]
Re:Alpine Linux Docker images have NULL for root password
by Xylakant on Wednesday May 08, 2019 @03:42PM
(#19862174)
given that containers usually do not include any init system at all that’s not a good reason to pick a side.
Re:Alpine Linux Docker images have NULL for root password
by zbentley on Wednesday May 08, 2019 @03:41PM
(#19862164)
Ubuntu Docker images do not run systemd by default or in most configurations. In many images it is removed entirely.
Re:Alpine Linux Docker images have NULL for root password
by silluk on Wednesday May 08, 2019 @03:42PM
(#19862169)
I wouldn't be too concerned about that in a container since you're probably not running systemd in that context.
Re:Alpine Linux Docker images have NULL for root password
by roywiggins on Wednesday May 08, 2019 @04:05PM
(#19862358)
As far as I can tell, the recommended way to run several processes in an Ubuntu container is under supervisord. The default Ubuntu containers don't even include an init system.
Re:Alpine Linux Docker images have NULL for root password
by sofaofthedamned on Wednesday May 08, 2019 @04:10PM
(#19862419)
Suoervisord is an awful thing to do under a container tbf. Any oom event and it will kill a random process. Not good in a container environment.
Re:Alpine Linux Docker images have NULL for root password
by roywiggins on Wednesday May 08, 2019 @04:21PM
(#19862505)
I've only ever done it when I needed to run exactly two processes- porting an older piece of software that was not originally designed to run inside containers, and orchestrating the separate processes to be able to communicate and run in separate containers didn't seem like worth the effort.
Re:Alpine Linux Docker images have NULL for root password
by mixmastamyk on Wednesday May 08, 2019 @04:30PM
(#19862592)
And supervisord will restart it.