当前位置: 代码迷 >> 综合 >> Docker初次安装运行出错:Cannot connect to the Docker daemon at ***/docker.sock. Is the docker daemon running?
  详细解决方案

Docker初次安装运行出错:Cannot connect to the Docker daemon at ***/docker.sock. Is the docker daemon running?

热度:62   发布时间:2023-12-06 00:00:12.0

报错信息如下:Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

原因未启动docker服务,解决方法:

sudo systemctl  start docker

另外docker命令执行时,需要sudo 权限。

  相关解决方案