![cover](https://img-blog.csdnimg.cn/img_convert/16b60b9b7bc54d64aeb97b6f72d58f50.png)
Mac下ERROR: Cannot connect to the Docker daemon
Mac下ERROR: Cannot connect to the Docker daemon
·
解决Mac下ERROR: Cannot connect to the Docker daemon at unix:///Users/qq/.orbstack/run/docker.sock. Is the docker daemon running?
在Mac系统的中, 如果实际已经安装docker并且已经启动了. 但执行 docker info 时 报错:
ERROR: Cannot connect to the Docker daemon at unix:///Users/qq/.orbstack/run/docker.sock. Is the docker daemon running?
这有可能是由于安装的是 docker Desktop, 它的docker.sock文件是在 ~/.docker/run/docker.sock 位置.
只需要将执行下面的命令将该文件软链到~/.orbstack/run/docker.sock 即可.
执行命令: sudo ln -s ~/.docker/run/docker.sock ~/.orbstack/run/docker.sock
更多推荐
所有评论(0)