Dagger engine image pull failed in CI
On first run, the Dagger CLI pulls the engine image that matches its version. If the registry is rate-limited, unreachable, or the tag is unavailable, the pull fails and the engine cannot be provisioned.
What this error means
dagger fails while starting the engine with "failed to pull image" or "toomanyrequests: You have reached your pull rate limit" for the engine image.
dagger
Error: failed to start engine: failed to pull engine image registry.dagger.io/engine:v0.11.0: toomanyrequests: You have reached your pull rate limit.Common causes
Registry rate limiting on the engine image
An anonymous pull of the engine image can hit the registry rate limit on shared CI IPs.
A blocked or offline registry
A restricted network or a wrong engine tag makes the image unreachable, so the pull fails.
How to fix it
Authenticate or mirror the pull
- Authenticate to the registry to raise the pull limit.
- Or mirror the engine image into an internal registry.
- Point the CLI at the mirrored image if you use one.
Terminal
echo "$REGISTRY_TOKEN" | docker login registry.dagger.io -u ci --password-stdin
dagger call buildPrepull the engine image
Pull the engine image in a setup step so a transient registry error does not fail the build.
Terminal
docker pull registry.dagger.io/engine:v0.11.0How to prevent it
- Authenticate to the registry to avoid anonymous rate limits.
- Mirror the engine image for restricted networks.
- Pin and prepull the engine image tag.
Related guides
Dagger "failed to start engine" in CIFix Dagger "failed to start engine" in CI - the engine container was created but could not initialize, often…
Dagger CLI/engine "incompatible version" in CIFix Dagger "incompatible" CLI/engine version errors in CI - the CLI or SDK version does not match the engine…
Dagger "failed to connect to engine" in CIFix Dagger "failed to connect to engine" in CI - the Dagger CLI could not reach its engine container, usually…