Docker Rate Limit Error on Launcher Rebuild

When running a ./launcher rebuild app, I get the following errors:

x86_64 arch detected.

WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed

Please be patient

Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: Usage and rate limits | Docker Docs
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: Usage and rate limits | Docker Docs
Unable to find image ‘discourse/base:2.0.20241203-0251’ locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: Usage and rate limits | Docker Docs.
See ‘docker run --help’.
Your Docker installation is not working correctly

See: Troubleshoot docker installation issues

The site is running fine, but I need to install some plugins. I am trying to get a clean rebuild of the app before making any changes to the app.yml file. Thoughts?

3 Likes

I tried again 10 hours later. Same result. The docker hub time window is 6 hours.

This is a clean discourse install within the last 40 days. No plugins or customization at this time. So….

How is discourse hub accessed from a credential perspective? Anonymous? Discourse login?

Is there a way to set a personal discourse hub credentials to bypass the rate limiter?

Thank you.

1 Like

A possibly useful test is the very small hello world image:

/var/discourse# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
478afc919002: Pull complete 
Digest: sha256:5b3cc85e16e3058003c13b7821318369dad01dac3dbb877aac3c28182255c724
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm64v8)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

1 Like

Same results:

docker run hello-world
Unable to find image ‘hello-world:latest’ locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: Usage and rate limits | Docker Docs.
See ‘docker run --help’.

1 Like

I just encountered this problem on two Discourse forums (different servers/IPs).

Please be patient

Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Unable to find image 'discourse/base:2.0.20241203-0251' locally
docker: Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit.
See 'docker run --help'.
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

I hope this isn’t a sudden restriction by Docker to try to force people to pay.