docker启动报错:SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable
-- Unit docker-storage-setup.service has begun starting up.
Dec 10 09:11:52 localhost.localdomain sh[11601]: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Dec 10 09:11:52 localhost.localdomain systemd[1]: Started Docker Cleanup.
-- Subject: Unit docker-cleanup.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker-cleanup.service has finished starting up.
--
-- The start-up result is done.
Dec 10 09:11:52 localhost.localdomain container-storage-setup[11602]: INFO: Volume group backing root filesystem could not be determined
Dec 10 09:11:52 localhost.localdomain systemd[1]: Started Docker Storage Setup.
-- Subject: Unit docker-storage-setup.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker-storage-setup.service has finished starting up.
--
-- The start-up result is done.
Dec 10 09:11:52 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
Dec 10 09:11:52 localhost.localdomain dockerd-current[11650]: time="2022-12-10T09:11:52.900133517-08:00" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not fou
Dec 10 09:11:52 localhost.localdomain dockerd-current[11650]: time="2022-12-10T09:11:52.905416348-08:00" level=info msg="libcontainerd: new containerd process, pid: 11656"
Dec 10 09:11:54 localhost.localdomain dockerd-current[11650]: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable
Dec 10 09:11:54 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Dec 10 09:11:54 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has failed.
--
-- The result is failed.
Dec 10 09:11:54 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
Dec 10 09:11:54 localhost.localdomain systemd[1]: docker.service failed.
Dec
进入目录
vim /etc/sysconfig/docker
修改为以下内容,然后保存退出重启即可
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· DeepSeek 开源周回顾「GitHub 热点速览」
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了