首页 > 其他 > 详细

Failed to get D-Bus connection: Operation not permitted

时间:2019-09-01 15:08:24      阅读:51      评论:0      收藏:0      [点我收藏+]

在容器中使用systemctl报Failed to get D-Bus connection: Operation not permitted的错误,则在启动的时候把sys/fs/cgroup映射到docker容器中。

docker run --privileged --name=test --hostname=test -v /sys/fs/cgroup:/sys/fs/cgroup image /usr/sbin/init

Failed to get D-Bus connection: Operation not permitted

原文:https://www.cnblogs.com/gaoyuechen/p/11441975.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!