centos docker启动失败怎么办

发布时间:2025-05-10 点击:8
centos docker启动失败的解决办法:1、打开docker配置文件;2、编辑内容为“options=\’–selinux-enabled=false…”;3、执行“systemctl restart docker”命令即可。
本文操作环境:centos 7系统、docker-ce版、dell g3电脑。
centos docker启动失败怎么办?
centos7 启动docker失败的解决:
控制端使用yum install docker安装完成docker后启动docker失败,出现以下信息:
job for docker.service failed because the control process exited with error code. see \”systemctl status docker.service\” and \”journalctl -xe\” for details.
当时我就蒙了,我就按照提示systemctl status docker.service然后控制端出现以下信息:
我发现这好像是由于docker不支持图像内核驱动:selinux不支持这个内核上的orthala2图形驱动程序
重新编辑docker配置文件:
vi /etc/sysconfig/docker
# /etc/sysconfig/docker# modify these options if you want to change the way the docker daemon runsoptions=\’–selinux-enabled=false –log-driver=journald –signature-verification=false\’if [ -z \”${docker_cert_path}\” ]; then docker_cert_path=/etc/dockerfi
最后重新编译:systemctl restart docker 成功了!
推荐学习:《docker视频教程》

怎么做一个网页才能对企业有好处
云服务器不备案会这么样
19双11个人购买云服务器
怎么把网站挂到阿里云的服务器
电商网站云服务器
阿里云服务器购买该如何选择
阿里云服务器ecs9块9是什么
租云服务器是什么骗局啊