mac M2 多个 docker环境 colim 、docker for mac 、orbstack
三个环境存在是会让 docker 命令混乱
colim
- 真实的路径
sudo ln -s /opt/homebrew/bin/docker -> /opt/homebrew/Cellar/docker/24.0.2/bin/docker
- docker.sock
~/.colim/run/docker.sock
docker for mac
- 真实的路径
/usr/local/bin/docker -> /Applications/Docker.app/Contents/Resources/bin/docker
- docker.sock
~/.docker/run/docker.sock
orbstack
- 真实的路径
/usr/local/bin/orb -> /Applications/OrbStack.app/Contents/MacOS/bin/orb
- docker.sock
~/.orbstack/run/docker.sock
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17535249.html