麻烦请教一下,我在安装一个xxx软件离线包时,它里面带有docker engine,安装不成功
安装时提示:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
之后就提示:“xxx服务状态:正在启动”,就这样一直循环,直到我主动终止它。
可能得先启动docker。
docker.service启动failed
命令:sudo systemctl status docker
下面是反馈:
× docker.service - Docker Application Container Engine
Loaded: loaded (/etc/systemd/system/docker.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sun 2024-07-14 16:08:33 CST; 4min 41s ago
Docs: https://docs.docker.com
Process: 17397 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
Main PID: 17397 (code=exited, status=1/FAILURE)
CPU: 156ms
7月 14 16:08:33 debian1250 systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
7月 14 16:08:33 debian1250 systemd[1]: Stopped docker.service - Docker Application Container Engine.
7月 14 16:08:33 debian1250 systemd[1]: docker.service: Start request repeated too quickly.
7月 14 16:08:33 debian1250 systemd[1]: docker.service: Failed with result ‘exit-code’.
7月 14 16:08:33 debian1250 systemd[1]: Failed to start docker.service - Docker Application Container Engine.