Here are few gotchas when working with the OpenShift docker registry. These are quite useful if you run OpenShift as a demo or testing environment:

  1. Using the AllowAllIdentityProvider will prevent you from login to the registry. For a not know reason yet, if you are using this provider (which comes by default with oc cluster up), then any login attempt to the docker registry will fail, even with a valid token.
  2. Pulling from the registry will result in a 404 error if the public URL is not added to the –insecure-registry of the local host.