docker服务启动失败:Failed to start Docker Application Container Engine

启动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)

解决办法:

vi /etc/sysconfig/docker
# /etc/sysconfig/docker

# Modify these options if you want to change the way the docker daemon runs

OPTIONS='--selinux-enabled=false  --log-driver=journald --signature-verification=false'
if [ -z "${DOCKER_CERT_PATH}" ]; then
    DOCKER_CERT_PATH=/etc/docker
fi

然后重启服务:

systemctl   start docker 

systemctl enable docker

OK!!!

你可能感兴趣的:(docker服务启动失败:Failed to start Docker Application Container Engine)