dockerhub storage problem?
anyone else using dockerhub for container image storing? since they still don't have tag ttl expiration, and now that they introduced paid storage how would one deal with automatically expiring older images to not pay for unnecessary storage? or is there a better/equivalent registry alternative in terms of pricing to use?
3 Replies
It looks like public dockerhub repos are still free, so if you're hosting OSS stuff then I think you're fine. For private repos, I've used AWS ECR for the most part and been very happy with it. It has quite a lot of support for automated cleanup of old images, and if you already are using AWS then authenticating with it is pretty strait forward. The pricing is also quite reasonable IMO. I imagine GCP/Azure probably have similar offerings as well, but I've never used them so idk the details
DigitalOcean also has a container registry
Also with a free tier up to 500MB
i have dozen repositories for different images, but before it didnt matter so everyone could just keep hundreds of tags even if unused, now that it matters i guess either i find a different provider or have to do some automations on my side to keep like only last 3-4 tags in each repo to not rack up hundreds of gbs in unnecessary storage