Docker for Windows server 2016

Hi ,

We have configured Docker on a VM which has Windows server 2016 OS, I am able to see the status , info , version etc of Docker correctly from the powershell.
But the docker login/pull/run commands are giving error wrt the host name resolution.
We have found similar threads and tried fixes such as setting HTTP_PROXY env variables, setting DNS to 8.8.8.8 etc, but nothing is working.
This VM is inside a Corp firewall,once HTTP_PROXY is set the error message changed to"look up http no such host"
Can you please suggest the configurations for Windows Server 2016 VM which is behind a Corp firewall.