1. 程式人生 > >Centos 7 ,啟動docker失敗,Error starting daemon: SELinux is not supported with the...lse)

Centos 7 ,啟動docker失敗,Error starting daemon: SELinux is not supported with the...lse)

centos 7 ,啟動docker失敗,Error starting daemon: SELinux is not supported with the…lse)

systemctl start docker 啟動失敗

docker啟動失敗
根據提示 systemctl docker status
檢視docker狀態
錯誤提示是因為SElinux is not supported with the ... lse

解決方案

原因是因為此linux的核心中的SELinux不支援 overlay2 graph driver,所以禁用selinux。

vim /etc/sysconfig/docker

修改/sysconfig/docker

修改之後就能啟動成功了。