Bug 1347805
Summary: | better error message when trying to pull from a integrate registry w/o being logged in. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Ruan <pruan> |
Component: | docker | Assignee: | Antonio Murdaca <amurdaca> |
Status: | CLOSED NOTABUG | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | dwalsh, lsm5 |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-10-23 13:42:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Ruan
2016-06-17 17:17:21 UTC
Shishir can I get an update on this? This is how docker/distribution and docker works as of today. You get a 404, thus an image not found, not because the image isn't there but because docker first attempts to pull from a V2 registry, it gets unauthorized, tries to contact a V1 registry, the V1 registry doesn't exists, it gets back a 404 which is then translated to an image not found. What you get at the end of this "probing" is just the last error in the chain (the image not found). There are lengthy issues upstream about this (opened by me https://github.com/docker/docker/issues/21054, https://github.com/docker/docker/issues/19834), none of those are feasible because of how docker is designed today, and this design won't easily change in the near future (it could cost a huge compatibility issue). I'm closing this as not a bug. Is this worthy of a blog? Just reference this bugzilla, talk about why this is and what it means. Most of your content could be taken from the bugzilla. I've already written about this in this skopeo issue also https://github.com/projectatomic/skopeo/issues/235#issuecomment-254820427 I've added to my todo list to write a blog post about this (it'll be really short though) |