Open slamer59 opened 8 months ago
For organizations that have an existing DockerHub repository mirror set up, then they can use that by specifying the mirror in the image name. However, this works only for unauthenticated internal registry mirrors.
There are a few options:
/etc/docker/daemon.json
I am not sure if bundling Docker registry pull through cache is that important, since there are several alternatives - blog post or you have a GitLab installation, then GitLab provides Dependency Proxy.
Additional information regarding authentication against private repository mirrors.
This only works, if the image specified is referenced through the mirror. eg: mirror.company.com/image:tag
, if the image is plainly referenced as image:tag
then repository mirror works only if it's unauthenticated. This seems to be a limitation of dockerd and is still an unresolved issue. Authentication without speficying the mirror in the image name only works for authenticated DockerHub accounts (eg. paid accounts).
hii @anna-geller @tchiotludo can i work on this issue if no one is currently working.
Hii @anna-geller @MilosPaunovic @slamer59 i have raised a corrected PR for this: https://github.com/kestra-io/kestra/pull/5820 please go through this whenever you get time, thanks.
Hii @anna-geller @MilosPaunovic @slamer59 i have raised a corrected PR for this: https://github.com/kestra-io/kestra/pull/5820 please go through this whenever you get time, thanks.
I thanks. I am in another topic right now. I dont have time these days sorry.
that fine @slamer59 , please go through this whenever you get time . i will be in touch with you for this .
Feature description
In a CI/CD process like Kestra, it's common to encounter Docker Hub rate limits when pulling Docker images repeatedly during builds. To mitigate this issue and improve build performance, Docker Hub proxy feature within Kestra could improve performance and remove this rate limiting.
Problem Statement
Currently, CI/CD workflows relying on Docker images from Docker Hub (or any other) can face rate limits, causing delays and disruptions in build processes. This limitation hinders the scalability and efficiency of automated builds, especially in large-scale projects with frequent image pulls.
Ex for anonymous user : 100 pulls per 6 hours per IP address
Proposed Solution
Integrate a Docker Hub proxy mechanism within Kestra that allows caching Docker images locally. This proxy should intelligently manage image requests, reducing the need for repetitive pulls from Docker Hub and optimizing build times.
Benefits
Implementation Considerations
Use Case
Consider a scenario where a CI/CD pipeline in Kestra regularly pulls Docker images from Docker Hub for building and testing applications. With the Docker Hub proxy feature enabled, these images are cached locally, significantly reducing build times and improving overall pipeline efficiency.
This feature request aims to enhance the functionality and performance of Kestra in CI/CD environments, providing users with a seamless Docker image caching solution to optimize build workflows.
Relevant Documentation