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

👤 cesii 📅 2021年09月10日 21:36 👁️ 阅读 241 📂 Docker

准备在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?