I am trying to create docker swarm service, but I am getting some strange behavior:
For some images, it is successful and for some, I am getting an error:
docker service create nginx
89t21k3udf007pvl2ucvmdp9l
overall progress: 1 out of 1 tasks
1/1: running [==================================================>]
verify: Service converged --> Success
docker service create hello-world
8hhdki32ypfwshh2wvijkkmvb
overall progress: 0 out of 1 tasks
1/1: preparing [=================================> ]
verify: Detected task failure --> Fail
For your reference: docker pull hello-world is working fine.
I was under impression that we can create services on all the images, is there any terms and conditions for that? Am I missing something?
Note: This is the basic part, but my main intention is to create service for local registry image. But upon debugging found issue in very first step i.e. hello-world.