Docker has planned to deprecate the Docker Hub v1 API endpoints that access information related to Docker Hub repositories on September 5th, 2022.
At this time, we have found that the number of v1 API consumers on Docker Hub has fallen below a reasonable threshold to maintain this version of the Hub API. Additionally, approximately 95% of Hub API requests target the newer v2 API. This decision has been made to ensure the stability and enhanced performance of our services so that we can continue to provide you with the best developer experience.
How does this impact you?
After the 5th of September, the following API routes within the v1 path will no longer work and will return a 404 status code:
If you want to continue using the Docker Hub API in your current applications, you must update your clients to use the v2 endpoints. Additional documentation and technical details about how to use the v2 API are available at: https://docs.docker.com/docker-hub/api/latest/
How can I replace the v1 APIs with v2 APIs
If you’re using any v1 hub APIs, here’s how you can replace them with the v2 hub APIs. Some of these changes are in line with the Open Container Initiative(OCI) Distribution Specification.
|Deprecated v1 APIs||New v2 APIs that can be used instead|
To read more about these changes, please visit the documentation.
How do you get additional help?
If you have additional questions or concerns about the Hub v1 API deprecation process, you can contact us at [email protected].