Linux安装docker报错Job for docker.service failed because the control process exited with error code

  1. yum install docker
    Linux安装docker报错Job for docker.service failed because the control process exited with error code_第1张图片
  2. 查看版本报错:docker version
    Linux安装docker报错Job for docker.service failed because the control process exited with error code_第2张图片
    3.查看问题:systemctl status docker.service
    具体原因是:是由于docker不支持图像内核驱动,SELinux不支持这个内核上的OrthALA2图形驱动程序
    Linux安装docker报错Job for docker.service failed because the control process exited with error code_第3张图片4. 进入修改:vim /etc/sysconfig/docker
    把OPTIONS一行改为:OPTIONS=’–selinux-enabled=false --log-driver=journald --signature-verification=false’(图中是修改后的,就是在原基础加了个false)
    Linux安装docker报错Job for docker.service failed because the control process exited with error code_第4张图片5. 启动:systemctl start docker
    并查看:docker version
    成功!
    Linux安装docker报错Job for docker.service failed because the control process exited with error code_第5张图片优秀的博主链接:https://blog.csdn.net/yangqinfeng1121/article/details/83374477

你可能感兴趣的:(项目经验)