1. 程式人生 > >yum 安裝docker後 無法啟動

yum 安裝docker後 無法啟動

ica col supported 兩個 linux start tin contain over

一,yum安裝docker

yum -y install docker

技術分享圖片

啟動docker

service docker start

報錯:

journalctl -xe

Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel.

Failed to start Docker Application Container Engine.

可以看出錯誤信息

Error starting daemon: SELinux is not supported with the overlay2 graph ...alse)
此linux的內核中的SELinux不支持 overlay2 graph driver ,解決方法有兩個,要麽啟動一個新內核,要麽就在docker裏禁用selinux,--selinux-enabled=false

技術分享圖片

重啟docker

service docker start

docker info

問題解決。


yum 安裝docker後 無法啟動