Access the Red Hat container registry for development

This document describes how to procure the credentials required to pull container images from the Red Hat container registry for development purposes.

No Red Hat subscription is required to access those images for development.

While at the moment, container images are still available without authentication by using registry.access.redhat.com as the container registry, this registry will eventually be retired.

On OpenShift Container Platforms, the credentials required to access Red Hat container images should already be preconfigured

Step by step guide

  1. Get a Red Hat login. If you don’t already have one, you can create one for free by signing up to the Red Hat Developer program. This will give you free access to developer tools and programs.

  2. Create a Registry Service Account.

  3. Authenticate your local Docker installation with the Red Hat registry. To obtain the command required to do so, select the service account you just created and go to the "Docker Login" tab.

And that’s it! You should now be able to pull container images from the Red Hat registry:

docker pull registry.redhat.io/rhel7-atomic