Oshan Rube
Oshan Rube

Reputation: 259

API error (500): manifest unknown: manifest unknown

it failes to pull the image with SHA256 digest identifier enter image description here

Upvotes: 5

Views: 3821

Answers (3)

maddop
maddop

Reputation: 21

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

Upvotes: 0

Sebastian Łaskawiec
Sebastian Łaskawiec

Reputation: 2737

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

Upvotes: 0

Clayton
Clayton

Reputation: 3326

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.

Upvotes: 3

Related Questions