我试图在CentOS 7中安装停靠程序,但得到了守护进程错误。我尝试了所有的方法,可以在互联网上安装和调试,但没有真正的工作!我甚至试着安装那些也不起作用的较旧版本的docker。
SELinux被禁用。
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?码头版
Client:
Version: 1.13.1
API version: 1.26
Package version:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?systemctl status docker.service -l
Redirecting to /bin/systemctl status -l docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2020-04-10 18:00:02 CEST; 49min ago
Docs: http://docs.docker.com
Process: 4510 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
Main PID: 4510 (code=exited, status=1/FAILURE)
Apr 10 18:00:01 ns3138286 systemd[1]: Starting Docker Application Container Engine...
Apr 10 18:00:01 ns3138286 dockerd-current[4510]: time="2020-04-10T18:00:01.506877169+02:00" level=info msg="libcontainerd: new containerd process, pid: 4522"
Apr 10 18:00:02 ns3138286 dockerd-current[4510]: time="2020-04-10T18:00:02.514107274+02:00" level=error msg="'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded."
Apr 10 18:00:02 ns3138286 dockerd-current[4510]: Error starting daemon: error initializing graphdriver: driver not supported
Apr 10 18:00:02 ns3138286 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Apr 10 18:00:02 ns3138286 systemd[1]: Failed to start Docker Application Container Engine.
Apr 10 18:00:02 ns3138286 systemd[1]: Unit docker.service entered failed state.
Apr 10 18:00:02 ns3138286 systemd[1]: docker.service failed.发布于 2020-04-13 18:56:00
如果没有更多的细节,很难为这个问题提供一个确切的解决方案,但是,错误信息是明确的:
在此主机上未发现
'overlay‘作为受支持的文件系统
请注意:
要配置Docker以使用覆盖存储驱动程序,您的Docker主机必须运行3.18版本的Linux内核(最好是较新的),加载覆盖内核模块。
使用uname -r检查内核版本
如果您安装了新内核,请重新启动您的计算机。
如果您不显式需要覆盖,也可以在/etc/docker/daemon.json文件中指定存储驱动程序-“devicemapper”是不支持覆盖的内核的首选存储驱动程序。
https://stackoverflow.com/questions/61143767
复制相似问题