3 ms·
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 do
by outworlder 8y ago
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.
- oliver_quartic 8y agoHere is one reason: https://news.ycombinator.com/item?id=10852055 https://news.ycombinator.com/item?id=10852055 (TL;DR - default signal behaviour is different for PID 1). [Edit - fix link]
- meddlepal 8y agoBecause 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.