Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.
This repository was archived by the owner on May 22, 2026. It is now read-only.

I don't understand the rate limiting... and bulk operations #214

Description

@joshiste

... What I basically need to to is to delete a huge amount (>5000) of tags on a private repo of our paid org.
Wrote a little nice bash script using hub-tool for this purpose, as deleting it via advanced image management is a PITA. Now my problem:

After ~820 deletes I got an "429 too many requests".

querying the rate limiting gives:

hub-tool account rate-limiting
Limit:     100, 6 hours window
Remaining: 100, 6 hours window

But even getting my account info fails:

hub-tool account info
Error: failed to authenticate: bad status code "429 Too Many Requests": Docker Hub API rate limit exceeded, contact support@docker.com to give us feedback

So I guess I'm facing two issues here:

  1. a bulk operation to delete multiple tags at once
  2. good information (or event better gracefully handling) of rate limits.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions