1.看 /etc/docker/daemon.json 的配置

{
  "registry-mirrors":["https://---.mirror.ali---yuncs.com"]
}

 

Docker 安装后 报 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 解决办法

 

 

 

解决办法
$ systemctl daemon-reload
$ sudo service docker restart
$ sudo service docker status (should see active (running))
$ sudo docker run hello-world

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2021-09-04
猜你喜欢
  • 2021-07-02
  • 2021-11-29
相关资源
相似解决方案