Configuring the Red Hat Registry

These instructions apply to OpenShift 3.11 on premises only.

To access the private registry from OpenShift, please execute the following:

$ docker login

This will prompt you for your Red Hat username and password. After successfully entering your credentials, ~/.docker/config.json will be generated with the credentials. Copy the config.json file to the /var/lib/origin/.docker directory on every node, creating the directory if it does not yet exist.