feat: add remote repository to handle DockerHub rate limits#1266
Merged
dobrac merged 8 commits intoOct 1, 2025
Conversation
f9de1df to
d8e3e6b
Compare
jakubno
requested changes
Sep 30, 2025
0182d36 to
b48444e
Compare
5d6268f to
d113898
Compare
d113898 to
798d958
Compare
jakubno
reviewed
Oct 1, 2025
jakubno
approved these changes
Oct 1, 2025
ValentaTomas
pushed a commit
that referenced
this pull request
May 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Docker Hub remote repository proxy to cache Docker images and handle Docker Hub rate limits. https://docs.docker.com/docker-hub/usage/
We can add login to Docker Hub for the remote repository in a following PR.
Note
Adds a Docker Hub remote repository proxy (GCP/AWS/Noop) and wires it into template builds, Terraform modules, and Nomad to cache/pull public images and mitigate rate limits.
remote-repositorymodule creatinggoogle_artifact_registry_repositoryin remote mode with IAM and outputdockerhub_remote_repository_url.var.remote_repository_enabled; add variableremote_repository_enabledand MakefileREMOTE_REPOSITORY_ENABLEDtfvar.dockerhub_remote_repository_urlintomodule.nomadand Nomad job envDOCKERHUB_REMOTE_REPOSITORY_URL.DOCKERHUB_REMOTE_REPOSITORY_URL.dockerhub_remote_repository_urlvariable and plumb throughnomad/main.tfto the template-manager job.dockerhubRepositorythrough builder, base phase, rootfs, and OCI image fetch.oci.GetPublicImagenow supports pulling via remote repository proxy when unauthenticated and using default registry.packages/shared/pkg/dockerhubwith providers: GCP Artifact Registry, AWS ECR, and Noop; auto-select via env and exposeGetImage/Close.Written by Cursor Bugbot for commit c7307d4. This will update automatically on new commits. Configure here.