Skip to content

Conversation

@tianon
Copy link
Member

@tianon tianon commented Nov 3, 2022

Previously, this couldn't fetch from Docker without DOCKERHUB_PUBLIC_PROXY (see registry-1.docker.io change) and was ignoring content digests. Now it works correctly with or without DOCKERHUB_PUBLIC_PROXY, verifies the size of every object it pulls, verifies the digest, and should continue working with the in-progress Moby containerd-integration (where the local image ID becomes the digest of the manifest or index instead of the digest of the config blob as it is today).

(This also splits the registry code into a separate module so that eventually we could write some kind of tests for it.)

@tianon tianon force-pushed the better-registry-bits branch from 41c3722 to 0617c06 Compare November 3, 2022 15:17
@tianon tianon force-pushed the better-registry-bits branch 3 times, most recently from f7adb2b to a3b5702 Compare November 3, 2022 21:59
Previously, this couldn't fetch from Docker without `DOCKERHUB_PUBLIC_PROXY` (see `registry-1.docker.io` change) and was ignoring content digests.  Now it works correctly with or without `DOCKERHUB_PUBLIC_PROXY`, verifies the size of every object it pulls, verifies the digest, _and_ should continue working with the in-progress Moby containerd-integration (where the local image ID becomes the digest of the manifest or index instead of the digest of the config blob as it is today).
@tianon
Copy link
Member Author

tianon commented Nov 14, 2022

@yosifkit any objection to me squashing this into #56 which makes it much more complete (including some really basic godocs)?

@yosifkit
Copy link
Member

That seems fine! 🚢

@tianon tianon closed this Nov 14, 2022
@tianon tianon deleted the better-registry-bits branch February 23, 2023 00:47
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.

2 participants