Allow Docker Hub's CloudFront blob CDN - #10
Open
pnc wants to merge 2 commits into
Open
Conversation
`docker pull hello-world` in the guest fails: the manifest fetch succeeds, then the layer download is blocked with a proxy 418 and docker reports `error pulling image configuration: download failed after attempts=6`, which reads as a network fault rather than a missing allowlist rule. Docker Hub serves blobs from production.cloudfront.docker.com as well as the Cloudflare R2 bucket already allowed here, and picks per request, so allowing only one of them fails intermittently by design. Observed in .vm/blocked.jsonl as repeated GETs to production.cloudfront.docker.com/registry-v2/docker/registry/v2/blobs/... This is what was failing test_docker_hello_world on every branch — it is unrelated to the guest clock, and it fails in CI too, since CI uses this same allowlist. Adds a TestShippedAllowlist class that checks the real allowlist.txt against the URLs a pull actually requests. The existing filter tests all use synthetic rules, so nothing covered the shipped file, which is where upstream CDN drift shows up. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
jeffreleos
approved these changes
Aug 5, 2026
maravillas
approved these changes
Aug 5, 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.
Docker seems to use both Cloudflare R2 and CloudFront as CDNs to serve image layers, so allow both.