centos7-docker容器错误:Failed to get D-Bus connection: Operation not permitted Failed to get D-Bus
参考:https://www.cnblogs.com/yeyu1314/p/10668302.html
启动容器时必须加上—privileged=true /usr/sbin/init
docker run -itd --name centos7_v6_debug_v1 --privileged=true -v /docker_root_debug:/root/docker_root --restart=always centos7:v6_debug_v1 /usr/sbin/init
还没有评论,来说两句吧...