https://rancher.com/ logo
Title
c

chilly-farmer-59320

10/17/2022, 10:04 PM
Hi everyone, I installed Rancher Desktop and upgrade to version 1.6.0 on M1 Mac. I want to user Kubernetes with containerd. However, it looks like nerdctl keeps on timing out on pull from docker registry. See below:
➜  bin ./nerdctl run nginx
<http://docker.io/library/nginx:latest|docker.io/library/nginx:latest>: resolving      |--------------------------------------|
elapsed: 9.9 s                  total:   0.0 B (0.0 B/s)
INFO[0010] trying next host                              error="failed to do request: Head \"<https://registry-1.docker.io/v2/library/nginx/manifests/latest>\": dial tcp: lookup <http://registry-1.docker.io|registry-1.docker.io> on 192.168.5.3:53: read udp 192.168.5.15:34708->192.168.5.3:53: i/o timeout" host=<http://registry-1.docker.io|registry-1.docker.io>
FATA[0010] failed to resolve reference "<http://docker.io/library/nginx:latest|docker.io/library/nginx:latest>": failed to do request: Head "<https://registry-1.docker.io/v2/library/nginx/manifests/latest>": dial tcp: lookup <http://registry-1.docker.io|registry-1.docker.io> on 192.168.5.3:53: read udp 192.168.5.15:34708->192.168.5.3:53: i/o timeout
This is on macOS version 12.6
w

wide-mechanic-33041

10/18/2022, 11:18 AM
looks like a DNS issue. any vpn or firewall that might be blocking that?
c

chilly-farmer-59320

10/18/2022, 12:53 PM
Thank you @wide-mechanic-33041 - you are right. I have endpoint security with network filtering enabled. When I disable it - it works. I will sort it out on my end.
👍 1
In case anyone runs into a similar issue, I added an exception to allow traffic for
/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl>