News for hackers. Stuff that matters.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by unk on Tuesday March 12, 2019 @10:53PM (#19375259)
The host environment you're running Docker in still needs a services to be executed at boot.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by adtac on Tuesday March 12, 2019 @11:00PM (#19375306)
I just ran `docker run -it alpine /bin/sh` and when inside, I ran top. It looks like `/bin/sh` ran as PID 1. No init, just sh (busybox in this case).

Edit: Ah you meant the host OS. I can't reply to wezm down below for whatever reason (there's no "reply" button), so I'll just edit this to say I didn't realise that he was using alpine as your host OS as well. I haven't seen many people running it outside Docker, so it's quite interesting.

Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by krferriter on Tuesday March 12, 2019 @11:38PM (#19375485)
There's no init and only one process by default in alpine's docker image but you can add them and run more processes if you want.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by Scarbutt on Tuesday March 12, 2019 @11:08PM (#19375354)
He means the host OS.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by adtac on Tuesday March 12, 2019 @11:12PM (#19375371)
Host operating systems need a init, of course. I was just startled by the irrelevant discussion on alpine's init system when it isn't involved anywhere.
Re:Rebuilding My Personal Infrastructure With Alpine Linux a... by wezm on Tuesday March 12, 2019 @11:14PM (#19375379)
Yeah my host is running Alpine as well the containers so it's init needs to start docker, cron, etc.