-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.10: problems pulling images from gcr.io #18832
Labels
area/distribution
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Milestone
Comments
thaJeztah
added
area/distribution
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
labels
Dec 21, 2015
ping @tonistiigi @aaronlehmann (Thanks for reporting @ibuildthecloud ) |
Just in case this helps. More logs
|
@aaronlehmann I think your suspicion is correct. I reverted #18590 locally and now it is working. |
aaronlehmann
added a commit
to aaronlehmann/docker
that referenced
this issue
Dec 22, 2015
PR moby#18590 caused compatibility issues with registries such as gcr.io which support both the v1 and v2 protocols, but do not provide the same set of images over both protocols. After moby#18590, pulls from these registries would never use the v1 protocol, because of the Docker-Distribution-Api-Version header indicating that v2 was supported. Fix the problem by making an exception for the case where a manifest is not found. This should allow fallback to v1 in case that image is exposed over the v1 protocol but not the v2 protocol. This avoids the overly aggressive fallback behavior before moby#18590 which would allow protocol fallback after almost any error, but restores interoperability with mixed v1/v2 registry setups. Fixes moby#18832 Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
aditirajagopal
pushed a commit
to aditirajagopal/docker
that referenced
this issue
Feb 8, 2016
PR moby#18590 caused compatibility issues with registries such as gcr.io which support both the v1 and v2 protocols, but do not provide the same set of images over both protocols. After moby#18590, pulls from these registries would never use the v1 protocol, because of the Docker-Distribution-Api-Version header indicating that v2 was supported. Fix the problem by making an exception for the case where a manifest is not found. This should allow fallback to v1 in case that image is exposed over the v1 protocol but not the v2 protocol. This avoids the overly aggressive fallback behavior before moby#18590 which would allow protocol fallback after almost any error, but restores interoperability with mixed v1/v2 registry setups. Fixes moby#18832 Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/distribution
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
With 1.10 I get the following error:
The text was updated successfully, but these errors were encountered: