-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Open
Labels
agent/fixAgent has opened a PR for this issueAgent has opened a PR for this issueagent/generatedagent/triagedAgent has analyzed this issue; verdict in a commentAgent has analyzed this issue; verdict in a comment
Description
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, andjqinstalled.
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/latestSuggested 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent/fixAgent has opened a PR for this issueAgent has opened a PR for this issueagent/generatedagent/triagedAgent has analyzed this issue; verdict in a commentAgent has analyzed this issue; verdict in a comment