Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i custom the pull link ? #71

Closed
wuyue92tree opened this issue Feb 11, 2019 · 8 comments
Closed

how can i custom the pull link ? #71

wuyue92tree opened this issue Feb 11, 2019 · 8 comments

Comments

@wuyue92tree
Copy link

from: docker pull 192.168.1.29:4080/drone-test:latest
to: docker pull test.io/drone-test:latest

Is there an option for this?

thanks~

@Joxit
Copy link
Owner

Joxit commented Feb 11, 2019

Hi,

What is the tag of the image you are using ?

@wuyue92tree
Copy link
Author

Hi,

What is the tag of the image you are using ?

like this 192.168.1.29:5000/drone-test:latest

@Joxit
Copy link
Owner

Joxit commented Feb 11, 2019

Sorry, I meant the image tag of docker-registry-ui.
The static version (like docker-registry-ui:static) or the default one (like docker-registry-ui:latest) ?

@wuyue92tree
Copy link
Author

Sorry, I meant the image tag of docker-registry-ui.
The static version (like docker-registry-ui:static) or the default one (like docker-registry-ui:latest) ?
docker-registry-ui:static

@Joxit
Copy link
Owner

Joxit commented Feb 12, 2019

Okay, the environment variable URL is used to build the pull command, but this need some changes with the registry (CORS configuration).
And this will also by-pass the REGISTRY_URL environment variable and will not fit all use cases...
So I will add a new environment variable in order to customise the pull command and fit your needs 😄.

@Joxit
Copy link
Owner

Joxit commented Feb 25, 2019

I did not mention the option, it's PULL_URL

@wuyue92tree
Copy link
Author

I did not mention the option, it's PULL_URL

It's cool. I'll try it, thanks a lot.

@Joxit
Copy link
Owner

Joxit commented Feb 26, 2019

You are welcome 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants