How to Use Docker Hub publisher repositories in Claude Code
Returns repositories within a Docker Hub namespace, including descriptions and pull counts. Use it to survey a publisher's catalog before inspecting individual repositories.
Prompts to try with Docker Hub publisher repositories in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Docker Hub publisher repositories to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Docker Hub publisher repositories and tell me what changed since last week.
Check Docker Hub publisher repositories and summarize what you find in three bullet points.
Pull the newest data from Docker Hub publisher repositories and give me the result as a table.
Check Docker Hub publisher repositories every morning and tell me only when something changed.
How to set up Docker Hub publisher repositories in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Docker Hub publisher repositories
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "hub-docker-com/container-images/list_namespace_repositories", "input": { "namespace": "<namespace>" } }'
Then paste one of the prompts above: Claude Code finds Docker Hub publisher repositories on Spiral, shows the price and runs it.
Docker Hub publisher repositories providers and prices
Spiral runs Docker Hub publisher repositories through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Ordering | last_updated |
| |
| Page size | 1 to 100 | 25 | Records per page (Docker Hub clamps anything above 100 to 100). |
Every API field of Docker Hub · List namespace repositories is on its tool page: open its card above.
What can you do with Docker Hub publisher repositories in Claude Code?
Prepare an image change proposal with Docker Hub evidence beside the project's container references. A coding agent can turn repository documentation, publisher context, catalog categories, tags, and reported vulnerabilities into review notes.
Review a container publisher
Review Grafana's publisher profile and repository catalog, then read the documentation for relevant images. Compare those repositories with Grafana search results to distinguish the publisher's catalog from other matching entries.
Build an internal image directory
Organize selected public Grafana repositories under Docker Hub's categories. Include the publisher profile and available tags so developers can browse the catalog and investigate image versions.
Discover observability tools
Start with Docker Hub's categories and search for observability images. Review the profiles and repository catalogs of publishers such as Grafana to identify related tools for an evaluation.
Produce a publisher update digest
Compare saved Grafana repository and tag listings with current results each week. Organize the report by Docker Hub category and inspect changed tags for platform digests, sizes, and push dates.
More on Docker Hub publisher repositories and Claude Code
Overview
Docker Hub publisher repositories in other agents
Questions about Docker Hub publisher repositories in Claude Code
Can Claude Code use Docker Hub publisher repositories?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Docker Hub publisher repositories like any built-in tool.
How much does Docker Hub publisher repositories cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use Docker Hub publisher repositories in Claude Code?
No. Spiral runs Docker Hub publisher repositories on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Docker Hub publisher repositories in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Docker Hub publisher repositories runs?
Docker Hub publisher repositories runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Does public Docker Hub data include private repositories?
Public repositories are accessible to everyone. Private repositories require appropriate permissions, so a public publisher catalog does not establish everything that publisher stores.
Does one response contain every repository or tag?
Repository and tag listings are paginated. Docker Hub provides a total result count and a link to the next page when more results exist.
Can the same Docker Hub tag point to a different image later?
Yes. Docker Hub tags are mutable by default, and a publisher can change which image a tag references.
Can vulnerability counts change without another image push?
Yes. Docker Scout reevaluates stored image metadata as new vulnerability data becomes available, so an unchanged image can receive different findings.
Why can Docker Scout severity ratings differ from another scanner?
Scout prioritizes severity data from the vendor matching the package and version, such as Debian data for Debian packages. It falls back to NIST scoring when the vendor does not provide scoring data.
Start using Docker Hub publisher repositories in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


