1
drinkeroftea 2021-03-05 09:38:35 +08:00
macOS 版 docker 可以用 docker.for.mac.host.internal, 并让 mysql 监听 0.0.0.0
|
2
xingcy OP @drinkeroftea 在 Intel 内没问题,M1 里面不行,所以我上面描述的是 M1 的 docker
|
3
guyeu 2021-03-06 10:38:23 +08:00
这个 bug 不是已经修掉了吗,老兄试试最新版?
以下摘自官网: Fixes since the Apple Silicon preview 7 Docker Desktop preview 3.1.0 (60984) 2021-02-11 Kubernetes now works (although you might need to reset the cluster in our Troubleshoot menu one time to regenerate the certificates). osxfs file sharing works. The host.docker.internal and vm.docker.internal DNS entries now resolve. Removed hard-coded IP addresses: Docker Desktop now dynamically discovers the IP allocated by macOS. The updated version includes a change that should improve disk performance. The Restart option in the Docker menu works. |