Gitlab Self-Hosted / Dependency Proxy / Use Docker Login for higher rate-limit

Hi,

I would like the dependency proxy to login to dockerhub for pulling images. This way Gitlab / Dependency Proxy could use a higher rate-limit than 100.

Unfortunately I cant find anything in the documentation.

Any Idea how to configure?

Thanks and best Regards
Zen

I don’t think it exists yet, but I know that work is underway for the dependency proxy with generic image registry support. Stage Direction - Package | GitLab and Generic image registry support for dependency proxy (&6061) · Epics · GitLab.org · GitLab This could help solve your requirement with basic auth in Allow private registry connections with the dependency proxy (#331741) · Issues · GitLab.org / GitLab · GitLab

Thx @dnsmichi, helped a lot :+1:

BR
Zen

1 Like

Just as an alternative - you can use Docker Registry (Distribution) for this as well: Registry as a pull through cache | Docker Docs . It’s very simple to configure/run if you can boot up an extra VM, put it there and point all your Runners to it (in the /etc/docker/daemon.json).

Hi @paula.kokic,

thank you. I also stumbled on this solution :wink:

But tbh I think installing an artifactory / nexus, etc. would be better because there should be no need to reconfigure the docker-daemon.

I need to think about it :smiley:

Best Regards
Zen