如何解決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)
意思是說(shuō):此linux的內(nèi)核中的SELinux不支持 overlay2 graph driver ,解決方法有兩個(gè),要么啟動(dòng)一個(gè)新內(nèi)核,要么就在docker里禁用selinux,--selinux-enabled=false
重新編輯docker配置文件:
vi /etc/sysconfig/docker
改為:
然后systemctl start docker
即可。