Unable to pull docker image behind a proxy

I am trying to pull a docker image from a windows machine. I am behind a proxy and get he following error - 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). I tried updating the proxy settings in Docker settings but that didn’t help. Any suggestions would be helpful.