-
Type:
Bug
-
Status: Closed
-
Resolution: Cannot Reproduce
-
Affects Version/s: 7.16.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Severity:Medium
Currently, Artifactory can't pull from ghcr.io, while Docker client works without special configuration. (without Remote Credentials => anonymous)
Steps to pull successfully without Artifactory:
- Run this:
docker pull ghcr.io/banzaicloud/supertubes:v1.1.0-dev.1
Steps to reproduce the error in Artifactory:
- Configure a remote repository pointing to https://ghcr.io
- docker login to this remote repo
- pull the same image:
docker pull 192.168.81.20:8081/docker-remote/banzaicloud/supertubes:v1.1.0-dev.1
The error is: (client output)
Error response from daemon: manifest for 192.168.86.29:8081/docker-remote/banzaicloud/supertubes:v1.1.0-dev.1 not found: manifest unknown: The named manifest is not known to the registry.
artifactory.log:
2020-10-08 17:55:05,469 [http-nio-8081-exec-10] [WARN ] (o.a.r.RemoteRepoBase:466) - docker-remote: Error in getting information for 'banzaicloud/supertubes/v1.1.0-dev.1/list.manifest.json' (java.lang.IllegalStateException: Can't fetch token for repo: docker-remote realm: https://ghcr.io/token scope:repository:user/image:pull). 2020-10-08 17:55:05,470 [http-nio-8081-exec-10] [TRACE] (o.a.a.d.r.v.DockerV2RemoteRepoHandler:447) - Missing Manifest from docker-remote 'v2/banzaicloud/supertubes/manifests/v1.1.0-dev.1' not found at docker-remote:banzaicloud/supertubes/v1.1.0-dev.1/list.manifest.json
Workaround:
Use Remote credentials, i.e. username and PAT (Personal Access Token) in github.