Skip to content

[docs-scanner] Incorrect prerequisite list for checking pull limits #24436

@docker-agent

Description

@docker-agent

File: content/manuals/docker-hub/usage/pulls.md

Issue

The note before the "View pull rate and limit" instructions lists incorrect prerequisites:

To check your limits, you need curl, grep, and jq installed.

However, the actual commands shown in the section only use curl and jq. The grep tool is never used in any of the provided commands:

$ TOKEN=$(curl "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
$ TOKEN=$(curl --user 'username:password' "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
$ curl --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest

Suggested fix

Update the note to only list the tools that are actually required:

> [!NOTE]
>
> To check your limits, you need `curl` and `jq` installed.

Found by nightly documentation freshness scanner

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/fixAgent has opened a PR for this issueagent/generatedagent/triagedAgent has analyzed this issue; verdict in a comment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions