Are there any working examples with harbor specified in REGISTRY_PROXY_REMOTEDOMAIN? #4340
Answered
by
milosgajdos
kahirokunn
asked this question in
Q&A
-
I did the following but it didn't work with docker pull 127.0.0.1:5000/ubuntu . services:
harbor-project:
image: registry:2
volumes:
- ./data/harbor-project:/var/lib/registry
environment:
REGISTRY_PROXY_REMOTEURL: https://my-harbor/project
restart: always
ports:
- 5000:5000 I want you to send me stuff to |
Beta Was this translation helpful? Give feedback.
Answered by
milosgajdos
May 7, 2024
Replies: 1 comment 1 reply
-
That's likely because the distribution/registry/proxy/proxyregistry.go Line 242 in c49220d |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kahirokunn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's likely because the
/v2
path is hardcoded in the proxy:distribution/registry/proxy/proxyregistry.go
Line 242 in c49220d