4 ms·
Thanks! What are the limits that DockerHub has, which are much worse than GHCR's limits for public images? (I'm genuinely curious.) Also, it doesn't seem to b
by williamstein 3y ago
Thanks!
What are the limits that DockerHub has, which are much worse than GHCR's limits for public images? (I'm genuinely curious.)
Also, it doesn't seem to be quite as simple to switch to as just prefixing ghcr.io. The default when you do that switch is to create private images (which cost and are not public), so you have to figure out everything related to making the images public, which possibly involves changing Dockerfiles to link the image to a public project, or other options. [1]
[1] https://docs.github.com/en/packages/learn-github-packages/connecting-a-repository-to-a-package https://docs.github.com/en/packages/learn-github-packages/co...
- williamstein 3y agoIt seems that for free public images, DockerHub has a limit of "200 pulls per 6 hours" , according to https://www.docker.com/increase-rate-limits/ https://www.docker.com/increase-rate-limits/ I can't find any stated rate limits for ghcr.io for public images. Presumably they secretly exist, but are meant to be as high as Github can provide for free...?
- gvkhna 3y agoYes I mean for users you can just prefix the url to pull the image. For publishers you just need a public repo, it can be empty. And push your image to that as a release or use github actions to build/publish it. I don’t believe there are any stated limits, they probably have dynamic limits mostly for abuse, but regular/heavy usage will not encounter that.