Docker Community Forums

Share and learn in the Docker community.

Docker login when using daemon server and remote registry

Hi guys,
I have a setup in which I have my windows 7 PC with a docker exe, I have a server running docker daemon, and a third server as a registry.
I’ve set the DOCKER_HOST env var on my PC to the daemon server address. on the server I did ‘docker login’ to the registry address. but when I try to pull from my PC, it gives me an error - “no basic auth credentials”.

only if I do ‘docker login’ from my PC, I can pull/push images through the server to the remote registry.
Why is this a must? Is there a way to just do ‘docker login’ on the server once, and pull and push as I please?

Thank you very much