We are using private registry to host our own application images. Total of 4 dockers host engines. 1 swarm manager and 3 workers. On Manager we have created the image using private registry and after that used docker service create command to create the service with 4 replicas. Unfortunately the workers were not able to pull the image from private registry and while looking at the logs it say,
Jul 08 13:55:41 [HOST-IP] docker: time=“2016-07-08T13:55:41.919994662-04:00” level=error msg=“pulling image failed” error=“Error: image [IMAGE-NAME]:[VERSION] not found” module=taskmanager task.id=90sq9xundkdztbi9dxjucqu0j
If we run a pull command within swarm worker, then swarm will be able to use that image and the container is running properly… The issue is the image is not available with in local and it was supposed to be pulled up from the registry. Please suggest how to fix this.