Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
279 views
in Technique[技术] by (71.8m points)

Docker registry look up using wrong DNS on Apple Macbook

Not sure if this is a MacBook related issue but I found other users having similar issues with docker.

> docker pull hello-world                                    ok  03:34:09 PM 
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.64.1:53: read udp 192.168.64.4:34208->192.168.64.1:53: read: connection refused

Isn't it supposed to try 8.8.8.8 or 8.8.4.4 or 1.1.1.1 as defined in my /etc/resolv.conf?

How do I make docker follow /etc/resolv.conf?

question from:https://stackoverflow.com/questions/65651994/docker-registry-look-up-using-wrong-dns-on-apple-macbook

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...