【解决】image ... could not be accessed on a registry to record

时间:2022-04-07 07:10:17

 

 

【问题】image jmdiservice:1206 could not be accessed on a registry to record its digest. 

Each node will access jmdiservice:1206 independently, possibly leading to different nodes running different versions of the image.

 【解决】image ... could not be accessed on a registry to record

 

【分析】

   创建service时未指定registry地址(这样主节点也可以创建成功,这因为主节点本地存在该镜像),

  但是同样会导致子节点获取的镜像时也使用本地缓存,也就有可能导致使用的镜像不一致,或者获取不到。

 

【解决】

  指定registry地址即可。

 【解决】image ... could not be accessed on a registry to record