Skip to content

ci: pull Testcontainers images through the Docker Hub mirror - #199

Merged
pdevito3 merged 1 commit into
mainfrom
ci/docker-mirror
Oct 9, 2026
Merged

pdevito3 merged 1 commit into
mainfrom
ci/docker-mirror

Conversation

@pdevito3

@pdevito3 pdevito3 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

The integration tests failed on #125 because Docker Hub returned "toomanyrequests: You have reached your unauthenticated pull rate limit" for the Testcontainers images. A rerun failed the same way.

CI now sets TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX=mirror.gcr.io, so Testcontainers pulls postgres:15.1 and testcontainers/ryuk from the Google mirror of Docker Hub. Local runs do not change.

Verified locally: with the variable set, Testcontainers pulled mirror.gcr.io/postgres:15.1 and mirror.gcr.io/testcontainers/ryuk:0.11.0, and all 369 integration tests passed.

The integration tests failed on a pull request because Docker Hub returned "toomanyrequests: You have reached your unauthenticated pull rate limit" for the postgres and ryuk images. CI now pulls these images from mirror.gcr.io, which has no limit for anonymous pulls.
@pdevito3
pdevito3 merged commit 192629b into main Oct 9, 2026
2 checks passed
@pdevito3
pdevito3 deleted the ci/docker-mirror branch October 9, 2026 21:04
pdevito3 added a commit that referenced this pull request Oct 9, 2026
The integration tests failed on a pull request because Docker Hub returned "toomanyrequests: You have reached your unauthenticated pull rate limit" for the postgres and ryuk images. CI now pulls these images from mirror.gcr.io, which has no limit for anonymous pulls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant