balena-io-library / resin-rpi-raspbian

Apache License 2.0
74 stars 27 forks source link

Integrate Tini as the default init system #63

Closed nghiant2710 closed 7 years ago

nghiant2710 commented 7 years ago

Connects to https://github.com/resin-io-library/base-images/pull/237

IPconfig commented 7 years ago

I'll get a warning about tini not being PID 1 when running a plain image of rpi-raspbian docker run -it resin/raspbian-debian

results in

[WARN tini (18)] Tini is not running as PID 1 and isn't registered as a child subreaper. Zombie processes will not be re-parented to Tini, so zombie reaping won't work. To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.