Docker Swarm Standalone Registry Authentication Failed

Hi

So I have a standalone swarm consisting of:

3 Docker Hosts running 1.12.5 - I have swarm standalone running with 1.2.6 so I have 3 manager containers and 3 agent containers.

When I try to launch a container using the docker run command i get the following:

docker -l debug pull registry:user/image:latest
DEBU[0000] Trusting 168 certs
Using default tag: latest
master2: Pulling registry:user/image:latest... : unauthorized: authentication required
master1: Pulling registry:user/image:latest... : unauthorized: authentication required
master3: Pulling registry:user/image:latest... : unauthorized: authentication required
unauthorized: authentication required

RUnning the login from the commandline works fine. I have DOCKER_HOST and DOCKER_TLS_VERIFY variables configured to look at the master servers.

Looking for any guidance with this please.

THanks

hi numanoid…

I also have a question in on running the docker registry in Swarm but I’m running it as a service since it’s a critical component and should be able to take advantage of the service infrastructure. Are you also running it as a service?

I’m not using swarm mode, i’m using standalone swarm and my question isn’t about running a registry on swarm.