Docker - can't login behind proxy

I have two environments for docker.

1st one is at home where there’s no proxy and things work fine.

2nd one is at work where I’m behind a proxy.

“docker login” works at home but not at work.

I get the following error. What can I do to get around?

[root@puppetmaster ~]# docker login
Username: slt
Password: 
Email: snd@gmail.com
FATA[0006] Error response from daemon: Server Error: Post https://index.docker.io/v1/users/: dial tcp 162.242.195.84:443: no route to host 
[root@puppetmaster ~]# service docker status
docker (pid  2421) is running.

Thanks.

@sendalot, you have any workaround for the mentioned problem? i am facing the same issue.

using Docker Quickstart Terminal from windows at work.

Hi, I’m facing similar issue: