Docker Pull时报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Docker Pull时报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
cesii 本文作者

2021-9-10 阅读 214 约 1分钟读完

评论0

准备在Docker中pull一个Neo4j,但是在pull的时候报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

查看Docker的运行状态s

执行systemctl status docker
Docker Pull时报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
发现是因为Docker服务没起来导致的,执行systemctl start docker启动服务
Docker Pull时报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
重新pull时发现了系统又要求身份认证,输入用户名密码后可以pull了。
Docker Pull时报错:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

上一篇 Linux公网环境下快速安装jdk过程 下一篇 Linux安装部署Tomcat
评论
更换验证码