mac-docker-connector icon indicating copy to clipboard operation
mac-docker-connector copied to clipboard

macos13.2_inter芯dockerDesktop4.16.2无法连接ip

Open 1094582170 opened this issue 2 years ago • 6 comments

主机日志docker-connector.log 2023/02/06 09:30:24 command => route -n delete -net 172.19.0.0/16 2023/02/06 09:30:38 load config(true) => /usr/local/etc/docker-connector.conf 2023/02/06 09:30:38 interface => utun0 2023/02/06 09:30:38 command => ifconfig utun0 inet 192.168.251.2 192.168.251.1 netmask 255.255.255.255 up 2023/02/06 09:30:38 command => route -n add -host 192.168.251.2 -interface utun0 2023/02/06 09:30:38 drawin setup done. 2023/02/06 09:30:38 command => route -n delete -net 172.18.0.0/16 2023/02/06 09:30:38 command => route -n add -net 172.18.0.0/16 192.168.251.1 2023/02/06 09:30:38 command => route -n delete -net 172.17.0.0/16 2023/02/06 09:30:38 command => route -n add -net 172.17.0.0/16 192.168.251.1 2023/02/06 09:30:38 listen => 127.0.0.1:2511 容器日志 2023-02-06 10:21:36 interface => tun0 2023-02-06 10:21:36 command => ip addr add dev tun0 local 192.168.251.1 peer 192.168.251.2 2023-02-06 10:21:36 command => ip route add 192.168.251.0/24 via 192.168.251.2 dev tun0 2023-02-06 10:21:36 local => 192.168.65.4:57945 2023-02-06 10:21:36 remote => 192.168.65.2:2511

1094582170 avatar Feb 06 '23 02:02 1094582170

macos M2芯,DockerDesktop4.16.2无法连接ip,降低到4.12.0 可以连接上

jannal avatar Feb 07 '23 08:02 jannal

有可能是升级后默认开启 macOS Big Sur 新增的 Use Virtualization framework 能力导致的,可以通过 关闭这个选项试试

M1 系统关闭这个功能就能使用了

nicole-lihui avatar Feb 13 '23 08:02 nicole-lihui

有可能是升级后默认开启 macOS Big Sur 新增的 Use Virtualization framework 能力导致的,可以通过 关闭这个选项试试

M1 系统关闭这个功能就能使用了

我的是inter芯片的,之前这样设置过也没有效果

1094582170 avatar Feb 13 '23 09:02 1094582170

Same to me. macOS M1 with Docker Desktop 4.16 doesn't work; Cannot ping. Downgrade to 4.15 worked.

wandermyz avatar Feb 23 '23 03:02 wandermyz

Don't upgrade to 4.16, it is Docker desktop issue. Downgrade to 4.15 https://docs.docker.com/desktop/release-notes/#4150

jerroldgao avatar Feb 23 '23 03:02 jerroldgao

我也遇到了,可以升级到4.17.0试试,https://github.com/wenjunxiao/mac-docker-connector/issues/14

aqiuxx avatar Mar 15 '23 08:03 aqiuxx