skopeo login fails in DevSpaces workspace container with '...open /run/containers/$UID/auth.json: permission denied' error

Solution Unverified - Updated -

Issue

  • Permission denied error message is displayed

    $ skopeo login -u user registry.example.com
    FATA[0000] get credentials: 1 error occurred:
            * reading JSON file "/run/containers/$UID/auth.json": open /run/containers/$UID/auth.json: permission denied
    

Environment

  • Red Hat OpenShift DevSpaces 3
  • Running skopeo login

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