First of all, to mention I checked multiple questions in Stackoverflow but the requirement was somewhat different or the solution offered was not working in my case, so thought of creating a new question.
- I am using Local Registry and able to push/pull image from all worker nodes as well
- Registry service is up and running in all nodes
- Issue while creating service of local image that I already pushed to the docker.
Issue:
overall progress: 0 out of 1 tasks 1/1: ready [======================================> ] verify: Detected task failure
Steps I have done:
docker service create --name registry --publish 5000:5000 armbuild/registry
(mine is raspi so used armbuild)docker tag XYZImage localhost:5000/XYZImage
-> Working Finedocker push localhost:5000/XYZImage
-> Working Finedocker service create --name XYZService --replicas 2 localhost:5000/XYZImage
--> Issue Note: Even I tried using IP address and adding that address to insecure registries in daemon.json file.
Any leads? or if I am missing something?