Comments (2)
here is one more use case, where limit of 50 rules won't work
problem: it may be hard to safely cleanup container registry, and in some cases registries are filled up quickly with tens of terabytes of images
idea:
imagine following setup:
- we have
main.azurecr.io
where each and every image published, it has quadrillion of images and weights tens of terabytes, it is hard to clean it up - we have
cache.azurecr.io
side by side, configured as read only cache proxy againstmain.azurecr.io
, all our Kubernetes clusters and other docker related services are talking to it
as result:
- it should be safe to remove images older than X months from
main.azurecr.io
- it is still hard to cleanup
cache.azurecr.io
but it will be much smaller, because it holds only images used at least once cache.azurecr.io
may be used to bypass limits from docker, quaye, etc.
why:
while playing with Azure Container Registry and connecting it, it took only 2 days to fill 50gb of data
![image](https://user-images.githubusercontent.com/88868/252877991-c67ea54c-cca1-43a9-b1da-2c06418f5686.png)
when:
seems like limit of 50 rules is real blocker here, as a workaround we probably may have many registries, but it is error prone
alternative: of course, it will be much better to have idempotent builds and image tagging strategy that will override labels, but that's not always suitable
from acr.
It is annoying that you need to define a cache-rule for each and every repo - having a wildcard like docker.io/* mapping over to a prefix of docker.io/ within ACR would scale a lot better.
from acr.
Related Issues (20)
- Cache ECR Repositories HOT 1
- Cache Nvidia Repositories HOT 1
- Scope Map: Built-in scope-map that can pull & read tags HOT 4
- Cannot connect to ACR HOT 3
- COPY command fails during build HOT 2
- It is not possible to use custom agent pools with Bicep HOT 9
- Azure AD latency when attaching ACR - day later replication not completed HOT 2
- Custom Certificate Authority for ACR Task Credentials HOT 2
- az acr build specifying --platform linux/amd64 is not working HOT 5
- Block users from pull unsigned images when Policies/Content trust is enabled HOT 3
- ACR tasks managed identity token format inconsistent HOT 4
- ACR Webhook getting 401 while calling app service Webhook URL integrated with vnet HOT 3
- Begin managing public content with Azure Container Registry HOT 2
- what is azure acr rest api endpoint to query the status of "anonymous Pull Enabled" ? HOT 1
- Provide feedback on cache feature HOT 6
- Docker Hub rate limiting HOT 4
- unexpected dockerfile format (build_with_cache2.yaml) HOT 1
- Push-only authentication HOT 6
- az acr login store wrong username in mac keychain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acr.