Docker群,无法在创build服务时针对图像进行消化

我build立了由三名工人和一名经理组成的docker群。 我想使用自定义的Dockerfile从图像版本启动三个工人的容器。 节点正确注册到pipe理器:

docker node ls ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS 0viqhgcdwul2vhvmgxbv31eg0 worker1 Ready Active mabikwr5ufwa7lv8xk0liyqbd worker3 Ready Active s1m1qiarlyfgtljghgomcztlb worker2 Ready Active tqp7m2ohzvgqc9c60aex4x9u5 * manager Ready Drain Leader 

但是当我执行下面的命令时,

 docker service create --replicas 3 -p 8080:8080 --name myService myImage 

worker1不执行容器,我得到了以下错误:

 unable to pin image myImage to digest: errors: denied: requested access to the resource is denied unauthorized: authentication required 

总是工人1失败,其他人恰到好处,形象正在按预期工作。 它从哪里来,我怎样才能解决这个问题?

好的,我的不好。 我以为pipe理者会以某种方式将图像发送到其他节点,但是并不明显。 由于某种原因,工人2和3有一个图像的副本,所以他们可以find它,但不是工人1 …

无论如何,谢谢你的答案。