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.
[ Parent
| on HN ]
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.