Dependency Proxy pulls images from cache when DockerHub is unavailable
Problem to solve
It's noted in the Dependency Proxy documentation that the feature requires DockerHub being available. This is problematic because when DockerHub is down is when it's more important than ever to be able to pull images from the cache so that you don't experience any downtime.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
User experience goal
- Users have confidence that if they use the Dependency Proxy and DockerHub is down that they won't be impacted by the outage. (assuming their image has been previously cached)
Proposal
Remove the limitation of the Dependency Proxy that DockerHub is available. If DockerHub is down and a requested image exists in the cache, we will pull it from the cache.
Further details
- This is a key requirement for us to dogfood the feature and to reduce our reliance on external dependencies.
Permissions and Security
- There are no permissions changes required for this change.
Documentation
Availability & Testing
What does success look like, and how can we measure that?
- Success looks like users are able to use the proxy to improve their reliability and efficiency.
- Measure the cache hit ratio. (issue to add instrumentation to the dependency proxy #238056)
What is the type of buyer?
- This will be a Premium feature