如何解决docker不能登录


本文摘自PHP中文网,作者WJ,侵删。

如何解决docker不能登录

Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable selinux in docker (--selinux-enabled=false)

意思是说:此linux的内核中的SELinux不支持 overlay2 graph driver ,解决方法有两个,要么启动一个新内核,要么就在docker里禁用selinux,--selinux-enabled=false

重新编辑docker配置文件:

1

vi /etc/sysconfig/docker

111.png

改为:

112.png

然后systemctl start docker 即可。

相关推荐:docker教程

以上就是如何解决docker不能登录的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

主机更换ip后Docker访问不了怎么办

如何解决Docker安装最新版mysql客户端连接不上的问题

Docker连不上网页怎么办?

Docker怎么查看网络详情

怎么彻底卸载Docker

Docker和k8s的区别是什么?

Docker与虚拟机的主要区别

Docker有什么用

Docker容器日志在哪个目录

苹果电脑怎么安装Docker

更多相关阅读请进入《Docker》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...