docker的CentOS 7.2最新版官方镜像使用systemctl管理程序时会遇到如下错误:
Failed to get D-Bus connection: Operation not permitted
解决这个问题的官方原文为:
https://github.com/docker-library/docs/tree/master/centos#systemd-integration
过程挺复杂,这里给一个替代方案:不要用systemctl!
启动脚本自己写一个就行
本文介绍了在Docker的CentOS7.2官方镜像中使用systemctl时遇到的错误:Failed to get D-Bus connection: Operation not permitted。提供了一个替代方案,即不使用systemctl,而是自行编写启动脚本。
docker的CentOS 7.2最新版官方镜像使用systemctl管理程序时会遇到如下错误:
Failed to get D-Bus connection: Operation not permitted
解决这个问题的官方原文为:
https://github.com/docker-library/docs/tree/master/centos#systemd-integration
过程挺复杂,这里给一个替代方案:不要用systemctl!
启动脚本自己写一个就行
转载于:https://www.cnblogs.com/scoter2008/p/6059730.html

被折叠的 条评论
为什么被折叠?