解決Mac下ERROR: Cannot connect to the Docker daemon at unix:///Users/qq/.orbstack/run/docker.sock. Is the docker daemon running?
在Mac系統(tǒng)的中, 如果實際已經(jīng)安裝docker并且已經(jīng)啟動了. 但執(zhí)行 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 位置.
只需要將執(zhí)行下面的命令將該文件軟鏈到~/.orbstack/run/docker.sock 即可.文章來源:http://www.zghlxwxcb.cn/news/detail-840906.html
執(zhí)行命令: sudo ln -s ~/.docker/run/docker.sock?~/.orbstack/run/docker.sock文章來源地址http://www.zghlxwxcb.cn/news/detail-840906.html
到了這里,關(guān)于Mac下ERROR: Cannot connect to the Docker daemon的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!