[RTFACT-15243] gcr.io as docker remote repository is not working Created: 08/Nov/17  Updated: 22/Jul/19  Resolved: 14/Feb/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Docker, Remote Repository
Affects Version/s: 5.5.1
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Mathieu Filotto Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: artifactory, docker, kubernetes, pro, repository

Issue Links:
Relationship
relates to RTFACT-15271 Full support for Kubernetes Resolved

 Description   

My use case is to add Google Cloud Container Registry for Kubernetes installation.

But I never succeed in configure gcr.io as a docker remote repository.
I just set URL: https://gcr.io
Am I missing something ?

I tried these docker pull commands:

docker pull docker-artifactory.sln.nc/google_containers/k8s-dns-sidecar-amd64:1.14.5
docker pull docker-artifactory.sln.nc/google-containers/k8s-dns-sidecar-amd64:1.14.5


 Comments   
Comment by Krzysztof Malinowski [ 20/Dec/17 ]

Your first command works for me as a charm on 5.3.2.

2017-12-20 10:39:57,163 [http-nio-8081-exec-5750] [INFO ] (o.a.a.d.r.v.r.v.DockerV2VirtualRepoHandler:105) - Fetching docker manifest for repo 'google_containers/k8s-dns-sidecar-amd64' and tag '1.14.5'
2017-12-20 10:40:00,998 [http-nio-8081-exec-5750] [INFO ] (o.a.r.HttpRepo      :420) - gcr.io downloading https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/manifests/1.14.5 739 bytes
2017-12-20 10:40:01,083 [http-nio-8081-exec-5750] [INFO ] (o.a.r.HttpRepo      :433) - gcr.io downloaded  https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/manifests/1.14.5 739 bytes at 8.60 KB/sec
2017-12-20 10:40:01,544 [http-nio-8081-exec-5750] [INFO ] (o.a.r.HttpRepo      :420) - gcr.io downloading https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/blobs/sha256:fed89e8b4248a788655d528d96fe644aff012879c782784cd486ff6894ef
89f6 2.37 KB
2017-12-20 10:40:01,584 [http-nio-8081-exec-5750] [INFO ] (o.a.r.HttpRepo      :433) - gcr.io downloaded  https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/blobs/sha256:fed89e8b4248a788655d528d96fe644aff012879c782784cd486ff6894ef
89f6 2.37 KB at 60.49 KB/sec
2017-12-20 10:40:02,149 [http-nio-8081-exec-5748] [INFO ] (o.a.r.HttpRepo      :420) - gcr.io downloading https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/blobs/sha256:280aca6ddce2bc2b0904fb525b14e119111c11ca06c3c4d9e4258723da52
aecd 1.84 MB
2017-12-20 10:40:02,576 [http-nio-8081-exec-5765] [INFO ] (o.a.r.HttpRepo      :420) - gcr.io downloading https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/blobs/sha256:44cb8dd9693bd1ce8f8b624399a1a6e940f48e40791a419d73a7fd9ec88a62fb 8.96 MB
2017-12-20 10:40:02,677 [http-nio-8081-exec-5748] [INFO ] (o.a.r.HttpRepo      :433) - gcr.io downloaded  https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/blobs/sha256:280aca6ddce2bc2b0904fb525b14e119111c11ca06c3c4d9e4258723da52aecd 1.84 MB at 3,574.88 KB/sec
2017-12-20 10:40:03,570 [http-nio-8081-exec-5765] [INFO ] (o.a.r.HttpRepo      :433) - gcr.io downloaded  https://gcr.io/v2/google_containers/k8s-dns-sidecar-amd64/blobs/sha256:44cb8dd9693bd1ce8f8b624399a1a6e940f48e40791a419d73a7fd9ec88a62fb 8.96 MB at 9,237.35 KB/sec
Comment by Mathieu Filotto [ 17/Jan/18 ]

OK I solved my problem by unchecking Enable Token Authentication

Comment by Mathieu Filotto [ 17/Jan/18 ]

This issue can be closed

Generated at Wed Jul 24 06:40:55 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.