Pulling an unauthenticated image from Red Hat registry returns terms acceptance error
Issue
- When importing an image from
registry.access.redhat.com
, it tells me to accept the Red Hat subscription agreement. -
When using
oc import-image
it fails with an internal error:$ oc import-image rhscl/redis-5-rhel7 --from=registry.access.redhat.com/rhscl/redis-5-rhel7 --confirm error: tag latest failed: Internal error occurred: registry.access.redhat.com/rhscl/redis-5-rhel7:latest: unsupported: This repo requires terms acceptance and is only available on registry.redhat.io
Environment
- Red Hat Image Catalog
- OpenShift Container Platform (OCP) 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.