美文网首页平台管理
解决:Failed to get D-Bus connectio

解决:Failed to get D-Bus connectio

作者: 韩小禹 | 来源:发表于2019-08-28 22:12 被阅读0次
    • docker中安装完httpd服务后,使用命令systemctl start httpd.service,发现报错,错误信息:Failed to get D-Bus connection: Operation not permitted
    • 解决方法:使用命令docker run -d -name centos7 --privileged=true centos:7 /usr/sbin/init创建容器,然后使用docker exec -it centos7 /bin/bash进入容器

    相关文章

      网友评论

        本文标题:解决:Failed to get D-Bus connectio

        本文链接:https://www.haomeiwen.com/subject/epevectx.html