Skip to content

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

@joshiste

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.

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