I see a lot of discussion of “Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)” but none of the responses seems germane.
I am using MacOS Big Sur on an Intel mac. I can use ‘curl’ at the command line to fetch https://registry-1.docker.io/, but docker itself cannot.
Playing with resolv.conf makes no sense since MacOS doesn’t use that file.
I have an MDM that turns on the MacOS firewall and cannot change that. Still, the firewall configuration is fairly permissive - among other things, signed software is allowed to receive incoming connections.