1.报错
[root@192 ~]# 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
2.根据提示查看docker服务状态:
systemctl status docker.service
Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Ei…d=false)
SELinux不支持此内核上的overlay2图形驱动程序,禁用selinux即可
3.解决方法:
方法1:禁用selinux
vi /etc/sysconfig/docker
修改:selinux-enabled=false
方法2:更新系统
yum update
重启系统:reboot
4.重新运行docker
systemctl start docker