Forum Stats

  • 3,769,910 Users
  • 2,253,029 Discussions
  • 7,875,236 Comments

Discussions

Can not pull docker image in swarm mode

3184721
3184721 Member Posts: 15
edited Oct 25, 2019 9:37AM in Containers

When I create a stack with image in gitlab registry I get: "image not found".

But if I just run on any node:

$ docker pull <my image>

image download and my service start only on this node.

Command to run stack:

$ docker stack deploy --prune --with-registry-auth=true -c docker-compose.yml mystack

This work on docker engine from official site but does not work on oracle linux server 7.7

Docker version 18.09.1-ol, build e32a1bd - does not work

Docker version 18.09.9, build 039a7df9ba - it works

What is differences?

Every time when I do

$ docker login myregistryhost:port

oracle docker ask password however in ~/.docker/config.json I see added auths record.

Very strange...

Answers