如何解決docker不能登錄

如何解決docker不能登錄

如何解決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配置文件:

vi?/etc/sysconfig/docker

如何解決docker不能登錄

改為:

如何解決docker不能登錄

然后systemctl start docker?即可。

相關推薦:docker教程

以上就是如何解決

? 版權聲明
THE END
喜歡就支持一下吧
點贊6 分享