-- 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
修改为以下内容,然后保存退出重启即可
标签:11,kernel,systemd,SELinux,09,报错,localdomain,docker,localhost From: https://www.cnblogs.com/pxblog/p/16972737.html