Docker login failing (Client.Timeout exceeded while awaiting headers)

I’m having issues getting docker login to work and I think it might have to do with our corporate proxy. I keep getting request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) . My host is macOS and I’m running Docker Desktop. I’m tailing the Docker daemon logs in Console.app and it appears that docker is successfully connecting to the proxy, then the docker login command times out, and finally the proxy responds in the Console (but too late, since the command has already timed out)

Docker logs from Console.app

I’ve tried updating etc/resolv.conf to use Google’s DNS with no luck (pretty sure our corporate IT doesn’t allow DNS changes). I also think our corporate http proxy might handle resolution in the first place.

This is my first Docker question, so please comment if there is any additional helpful information I can provide!

Source: StackOverflow