Joxit / docker-registry-ui

The simplest and most complete UI for your private registry

Home Page:https://joxit.dev/docker-registry-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how can i custom the pull link ?

wuyue92tree opened this issue · comments

commented

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~

Hi,

What is the tag of the image you are using ?

commented

Hi,

What is the tag of the image you are using ?

like this 192.168.1.29:5000/drone-test:latest

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) ?

commented

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

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 😄.

I did not mention the option, it's PULL_URL

commented

I did not mention the option, it's PULL_URL

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

You are welcome 😃