首頁  >  文章  >  運維  >  如何解決docker不能登入

如何解決docker不能登入

WJ
WJ原創
2020-06-09 17:03:534110瀏覽

如何解決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 (--se boot into a newer kernel or disable selinux in docker (--se blinoot-enable=false)#d=false)

##意思是說:此linux的內核中的SELinux不支援overlay2 graph driver ,解決方法有兩個,要么啟動一個新內核,要么就在docker裡禁用selinux,

--selinux-enabled=false

重新編輯docker設定檔:

vi /etc/sysconfig/docker

如何解決docker不能登入## 改為:

如何解決docker不能登入然後

systemctl start docker 

即可。 相關推薦:

docker教學

以上是如何解決docker不能登入的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn