在通过idea docker插件,连接本地docker时报错
Cannot connect to the Docker daemon at unix:///var/run/docker.sock
问题现象
https://github.com/docker/for-mac/issues/6531
https://github.com/docker/for-mac/issues/6529
问题方案
https://github.com/docker/for-mac/issues/6531#issuecomment-1288237259
问题解决方案:创建软连接,执行下面命令即可
sudo ln -s "$HOME/.docker/run/docker.sock" /var/run/docker.sock