skopeo copy fails with unable to retrieve auth token even if podman pull succeeds

Solution Verified - Updated -

Issue

  • After podman login & podman pull from registry is successful, skopeo copy operation fails with error:

    unable to retrieve auth token: invalid username/password:
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Red Hat Enterprise Linux (RHEL)
    • 8.x
  • Red Hat Enterprise Linux CoreOS (RHCOS)
  • podman
  • skopeo

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