Reputation: 259
it failes to pull the image with SHA256 digest identifier
Upvotes: 5
Views: 3821
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
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
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