Issue #1685
closedindex.docker.io seems to support the v2 API, contrary to what our dockermentation states
Description
When we were implementing v2 support against Dockerhub, it was determined that index.docker.io didn't support v2 even though it said it did. Thus we dockermented in many places that users should use a different endpoint. We also dockermented that they should use the --enable-v1 and --enable-v2 flags in various ways, depending on which endpoints they are using.
Now it seems that index.docker.io supports v2, so we need to revisit our dockermentation and fix it to be correct with the current state of affairs.
Updated by rbarlow almost 9 years ago
Humorously, it seems that if you try to sync v1 content from index.docker.io, it now redirects you to registry-1.docker.io, which is the host that our docs say to use to get v2 content and did not do v1 at all before.
The good news is that it seems that users can just point their feed at index.docker.io and use the --enable-v{1,2} flags to get the behavior they want. So I think we can just drop all the warnings about feed URLs and what not and just focus on the --enable-v{1,2} flags.
Updated by amacdona@redhat.com almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Updated by amacdona@redhat.com over 8 years ago
- Status changed from ASSIGNED to POST
index.docker.io was updated and now can forward requests for v2 content. However, this entire endpoint is deprecated and is likely to be removed relatively soon. Until it is removed, it is correct to sync v1 content from this endpoint, but it would not be a good choice to sync v2 content from the endpoint, even though it does work for the time being.
This is pretty much a NOOP, but I added a small note about the endpoint being deprecated.
Added by Austin Macdonald over 8 years ago
Added by Austin Macdonald over 8 years ago
Revision 3df01295 | View on GitHub
add v1 deprecation to recipe
closes #1685
Added by Austin Macdonald over 8 years ago
Revision 3df01295 | View on GitHub
add v1 deprecation to recipe
closes #1685
Added by Austin Macdonald over 8 years ago
Revision 3df01295 | View on GitHub
add v1 deprecation to recipe
closes #1685
Updated by Anonymous over 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 3df0129566f6a336a5e66f71a1363eb0d3df4df6.
Updated by dkliban@redhat.com over 8 years ago
- Status changed from MODIFIED to 5
Updated by semyers over 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
add v1 deprecation to recipe
closes #1685