Jump to content

Push a container to ghcr.io because of new DockerHub rate limits


Recommended Posts

ich777
Posted

Since DockerHub changes it's rate limit with 1. April 2025 it would probably help many users to push the Docker container from Emby to ghcr.io to circumvent the really strict limit for 10 pulls per hour for unauthenticated users.

Here is the link to the new rate limit:
https://docs.docker.com/docker-hub/usage/

Please ignore my request if there is already a container on ghcr.io available but I didn't find one yet in the official repository which is this I assume: https://github.com/MediaBrowser

Maybe it would be also viable to push it to the Release repo: https://github.com/MediaBrowser/Emby.Releases

  • Like 2
Q-Droid
Posted

I think you've misinterpreted the restrictions. How many times per hour do you pull container images?

image.png.1883086f70ab28a40e3386ad6e9ab0ee.png

ich777
Posted (edited)
35 minutes ago, Q-Droid said:

I think you've misinterpreted the restrictions. How many times per hour do you pull container images?

I don't think that I misinterpreted that since I do unauthenticated Docker pulls, because I can't do authenticated pulls <- this is probably also true for other people and this means only 10 pulls per hour.

I do update checks once a week from my Docker containers usually during Saturday night and then pull the updates. On my server are about 60 containers installed from which about 55 are always running and I need to pull about 30 to 40 containers in one go (probably in about 5 to 20 minutes).

The new rate limit would ultimately break that and would leave probably half of my containers without the update.

Even if you pull updates every day, granted if they are unauthenticated, you could run into issues with the 10 pulls per hour limit.

The Emby image which is currently only available on DockerHub would be also really beneficial if it would be available through ghcr.io
My assumption is that probably most HomeLab users have something in the neighborhood from 20 to 40 or even more containers running.

I have almost switched over all my containers over to ghcr.io from maintainers who offer them on ghcr.io but I still have a few containers from DockerHub left where Emby is one of them, I also want to avoid using a third party Emby image and would prefer using the official image instead.

Edited by ich777
  • Like 2
Q-Droid
Posted

I could see if you have large stacks with dependencies that this could be a hassle, even a blocker in some cases. Otherwise it's a matter of choice and convenience. And I do agree that multiple repositories is a good thing for flexibility and availability. Though I think yours and homelabers is more of an edge case and a smaller population than assumed. The vast majority won't be affected in a way that leaves them without options. 

 

 

ich777
Posted
22 minutes ago, Q-Droid said:

The vast majority won't be affected in a way that leaves them without options. 

I'm not too sure about that since many systems like Synology already support Docker, granted that I don't know nothing about their ecosystem but I assume the most apps that they provide are also Docker containers and with the new limit of 10 pulls per hour even a average user will reach that pretty quick.

For Nextcloud you need at least three containers (Nextcloud, Database and maybe Redis) where for Immich it's the same (Immich, MachineLearning, Database) then if you want to reverse proxy the applications you need something like NPM or SWAG and so on <- however that all is not topic of that thread.

 

27 minutes ago, Q-Droid said:

And I do agree that multiple repositories is a good thing for flexibility and availability.

Yeah, I would really like to see Emby be also be pushed to ghcr.io or another container registry.

Q-Droid
Posted (edited)

1. All containers do not have to be updated at the same time. 

2. Authenticated pulls have a much higher limit. 

 

 

 

Edited by Q-Droid
ich777
Posted
30 minutes ago, Q-Droid said:

1. All containers do not have to be updated at the same time. 

In my environment that's not easily doable and would probably mean a lot more effort.

30 minutes ago, Q-Droid said:

2. Authenticated pulls have a much higher limit. 

100 pulls per hour to be prescience for personal accounts, but I can't do authenticated pulls over here as mentioned above.

 

However this is not the point of this thread, my question was if it's doable and if the maintainers from Emby are willing to do that because I assume more users then me will benefit form that and of course having more resources to pull from are always better.

darkassassin07
Posted

I'm in a similar boat, with 37 containers running.

 

I update mine nightly using watchtower, and just adjusted it to run 2-3 times in a row spaced an hour and 15 apart. (2am 3:15, 4:30)

 

I've never had more than like 6-8 containers update at a time, so the extra runs have been unnecessary so far; but it's not hard to space things out and rate limit yourself a bit.

Neminem
Posted

Yes its pulls, not checks if there is an update.

  • 1 month later...
Posted

Besides all of that is that something that you consider doing @Luke& @ebr

It would be super nice to have a second registry to pull from.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...