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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.