docker运行centos提示Operation not permitted
1、在docker中运行了centos7镜像
2、进入到centos容器中捂执涡扔使用systemctl命令时提示systemctl Failed to get D-Bus connection: Operation not permitted
3、解决办法在运行centos镜像的时候加上--privileged参数
4、附上docker官网命令说明截图
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:89
阅读量:88
阅读量:49
阅读量:86
阅读量:87