[root@bogon chapter3]# systemctl start docker Job for docker.service failed

 - 启动docker 失败

[root@bogon chapter3]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

是由于docker不支持图像内核驱动,SELinux不支持这个内核上的OrthALA2图形驱动程序。解决办法:修改docker配置文件:

vim  /etc/sysconfig/docker

把OPTIONS一行改为:

OPTIONS='--selinux-enabled=false --log-driver=journald --signature-verification=false'

 

[root@bogon chapter3]# systemctl start docker Job for docker.service failed_第1张图片

 

就可以启动成功了

[root@bogon chapter3]# systemctl start docker Job for docker.service failed_第2张图片

你可能感兴趣的:(技术之路)