Replication of Images in root path not working for non-dockerhub registries
#19,074 opened on 2023年8月1日
説明
If you are reporting a problem, please make sure the following information are provided: i want to replicate the image mcr.microsoft.com/mssql-tools through a replication rule. i already added the microsoft registry for the mcr.microsoft.com/mssql/server where replication works just fine by specifying "mssql/server" as the source filter name. for the tools image i tried the filter "mssql-tools", "mssql-tools/**) and "library/mssql-tools" (as noted here: https://goharbor.io/docs/1.10/administration/configuring-replication/create-replication-rules/). sadly none of these filters works, i get the error "failed to fetch artifacts: failed to fetch artifacts: failed to list artifacts of repository library/mssql-tools: http status code: 404, ..."
Expected behavior and actual behavior: either the replication path analog to docker pull path or the prefix "library/" should work also for other registries
Steps to reproduce the problem: create a replication rule for a image at the microsoft image registry mcr.microsoft.com
Versions: Please specify the versions of following systems.
- harbor version: v2.4.1
- docker engine version: 19.03.8
- docker-compose version: 1.21.0
Additional context: for the registry i used the "Docker Registry" Provider
- Harbor config files: You can get them by packaging
harbor.ymland files in the same directory, including subdirectory. - Log files: You can get them by package the
/var/log/harbor/.
image because the UI doesn't let me copy the text