microsoft / containerregistry

Microsoft Artifact Registry description and related FAQ
397 stars 89 forks source link

Replication error with mcr.microsoft.com using Harbor #134

Closed 4integration closed 1 year ago

4integration commented 1 year ago

We are using Harbor v.2.7.1-6015b3ef as our private container image registry. When replication images from mcr.microsoft.com to Harbor we get this error:

failed to fetch artifacts: failed to fetch artifacts: failed to list artifacts of repository <image>:
invalid response challenges

It looks like this error is the current user has no permission to list the tags in the repository. We have no named user and uses anonymous.

It works to run docker pull mcr.microsoft.com/<image> locally

Why does this happen?

Examples:

mcr.microsoft.com/playwright
mcr.microsoft.com/azure-sql-edge
mcr.microsoft.com/mssql/server
4integration commented 1 year ago

Created a "Docker Registry" instead of Azure ACR and it works

image