4 ms·
I don't think alpine solves the process reaping problem. The only base image suitable for production I found so far is: https://github.com/phusion/baseimage-doc
by eddd 9y ago
I don't think alpine solves the process reaping problem. The only base image suitable for production I found so far is: https://github.com/phusion/baseimage-docker https://github.com/phusion/baseimage-docker
- rmurri 9y agoCorrect me if I'm wrong, but wouldn't just running a container with --init also reap zombie processes generically?
- Sinaptika 9y agoProcess reaping and signal forwarding are solved by using tini. You can call if from inside the container, by installing it and then changing the entrypoint/cmd. You can also specify it in your docker run/docker create command by adding "--init" I haven't seen the phusion base images in production in almost a year. Usually when an organization gets more experience in building images, they use better solutions then phusion images. tldr Don't use Phusion base images. If you need ssh and logrotate and etc, use lxd or a vm.
- eddd 9y agoI am not currently running docker on prod (but I am about to) you Sir pointed me to a good direction. Thank you!