一些docker init 进程工具

对于docker 来说init 进程的管理很重要,以下是几个不错的选择

tini

参考资料https://github.com/krallin/tini

dumb-init

参考资料https://github.com/Yelp/dumb-init

docker 自己的init

启动的时候添加 --init

supervisord

这个比较老牌,可以使用python版本的以及golang 版本的,个人比较推荐使用golang 版本的https://github.com/ochinchina/supervisord

containerpilot

这个本身是一个很不错的基于consul 的软件运行方案,但是也可以用来管理init进程,参考资料 https://github.com/joyent/containerpilot

说明

以上是一些整理, 肯定还会有其他,上边的只是一个参考

原文地址:https://www.cnblogs.com/rongfengliang/p/13295610.html