How to add custom registries to OpenShift 4?
Issue
- Is it possible to add additional registry to OpenShift 4?
- How to add container registry with url like " abc.com:5001" (including the port).
- Is it possible to add a registry that requires a certificate in OpenShift 4?
-
According to the documentation for configuring image registry settings,
additionalTrustedCA
is added but it failed to pull image from the registry:Failed to pull image “abc.com:5001/namespace/rhel-luna:latest”: rpc error: code = Unknown desc = pinging docker registry returned: Get https://abc.com:5001/v2/: x509: certificate signed by unknown authority
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- External image registry
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.