344°

docker启动失败-Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a new

docker启动命令:systemctl start docker,

启动时发现报错

Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a new....

解决方法:

# vim /etc/sysconfig/docker

修改

OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false --registry-mirror=https://fzhifedh.mirror.aliyuncs.com --insecure-registry=registry.sese.com' #修改这里的"--selinux-enabled",

改成"--selinux-enabled=false" if [ -z "${DOCKER_CERT_PATH}" ]; then DOCKER_CERT_PATH=/etc/docker fi

即只要修改  --selinux-enable=false即可

然后保存退出(:wq),重新启动即可。

启动后查看镜像

docker images

好了,可以开始倒腾了

全部评论: 0

    我有话说: