docker fails to pull and push images to private repositories in dockerhub

Solution Verified - Updated -

Issue

Pulling an image from a private registry in dockerhub fails with: "Error: image <myrepo>/<myimage>:<tag> not found"
Pushing an image to a private registry in dockerhub fails with: "unauthorized: access to the requested resource is not authorized"

Environment

  • Red Hat Enterprise Linux Atomic Host 7.x
  • Red Hat Enterprise Linux 7.x
  • docker 1.9.1-25 and earlier
  • docker 1.13.1-53.git774336d.el7 (or docker-latest)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content