API error (500): manifest unknown: manifest unknown

有些话、适合烂在心里 提交于 2019-12-10 15:00:02

问题


it failes to pull the image with SHA256 digest identifier


回答1:


Unfortunately this is a side-effect of DockerHub removing backwards compatibility for Docker 1.9 daemons. When images are pushed using Docker 1.10, pull-by-id will fail for older daemons (which includes OpenShift masters importing metadata from the Hub). You can work around this by pulling the centos image and pushing it to the internal registry.

At the current time, using Docker 1.9 on your hosts will avoid this issue.




回答2:


You can apply a workaround for this issue by removing Image Change Trigger and removing the hash from image attribute in container spec.




回答3:


Modify the build config:

strategy:
    dockerStrategy:
      from:
         kind: ImageStreamTag
         name: mysql-56-centos7

Replace to:

strategy:
   dockerStrategy:
      from:
         kind: DockerImage
         name: docker.io/centos/mysql-56-centos7:latest


来源:https://stackoverflow.com/questions/37709594/api-error-500-manifest-unknown-manifest-unknown

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!