-
Notifications
You must be signed in to change notification settings - Fork 18
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
Is there a way to override DOCKER_HUB_API_ENDPOINT #21
Comments
@chimmmpie Thanks for the suggestion. That would be a good feature to have. It needs to be checked whether all these registries are also expected to have same API endpoints are the main registry. |
I expect docker (unverified) to use the same API to fetch data. So i would expect it to be the same. But ill test a few if i have some time. |
I did some digging around, From what i can find the tags api for docker registry is authenticated. For the web api used by dockerhub there does not seem to be a standard. That makes this case impossible. |
I did some digging around when i found some other specs that point me on how to do it. Here is some dirty code that should work for any docker compatible repo given you have credentials. Those credentials we could be taken from the docker config.
I would keep the current code and add something like this as a fallback for other docker compatible registries. |
As there are becoming more and more docker registries it would be nice to be able to query them as well.
Is there a option to override the DOCKER_HUB_API_ENDPOINT and or would u consider it useful to make it configurable?
The text was updated successfully, but these errors were encountered: