Skip to content

docker: retry transient pull failures - #1289

Open
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:docker-pull-retry-backoff
Open

docker: retry transient pull failures#1289
crazy-max wants to merge 1 commit into
docker:mainfrom
crazy-max:docker-pull-retry-backoff

Conversation

@crazy-max

Copy link
Copy Markdown
Member

This retries docker pull when the Docker daemon reports transient registry or network failures, such as Docker Hub auth token timeouts, connection resets, DNS timeouts, EOF responses, and registry 5xx responses. Permanent pull failures still fail immediately, including access denied errors and Docker Hub rate limit errors, because retrying those just wastes time and can make the problem worse.

This helps reduce flakes in actions that pull setup images through the shared toolkit, especially docker/setup-qemu-action pulling tonistiigi/binfmt:latest.

Related issues:

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max marked this pull request as ready for review August 31, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant