After upgrading to macOS 14.1 my docker installation stopped woring and when I tried to pull an image it answered with the following error message:
➜ ~ docker pull ubuntu
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": proxyconnect tcp: dial tcp: lookup http.docker.internal on 192.168.65.7:53:
read udp 192.168.65.6:62314->192.168.65.7:53: i/o timeout
192.168.65.0/24 is the configured docker internal network of Docker Desktop. It was running on defaults and I wasn’t aware of any manual changes. DNS of my host system worked properly:
➜ ~ host registry-1.docker.io
registry-1.docker.io has address 34.194.164.123
registry-1.docker.io has address 18.215.138.58
registry-1.docker.io has address 52.1.184.176
registry-1.docker.io has IPv6 address 2600:1f18:2148:bc00:8334:ca86:c3d6:a507
registry-1.docker.io has IPv6 address 2600:1f18:2148:bc02:cfd8:db68:ea1f:277c
registry-1.docker.io has IPv6 address 2600:1f18:2148:bc01:a3b0:6734:c617:7c5c
What exactly caused the issue didn’t reveal but resetting Docker Desktop to factory defaults fixed the problem. You can find this on the top right corner of the window behind the small bug icon -> “Reset to factory defaults” button.