Spiral gives your agent every tool with one account. Browse the tools →

Grok · Developer

How to Use Docker Hub image search in Grok

Returns matching Docker Hub catalog entries with repository descriptions. Use it to discover image candidates before reading their documentation or comparing tags.

Prompts to try with Docker Hub image search in Grok

Copy an example into Grok, or ask in your own words.

Use Docker Hub image search for Redis and give me ten matching image repositories with their returned descriptions.

Docker Hub image searchGrok
Try asking
  • Use Docker Hub image search to look this up and give me the result as a table.

  • Pull the latest numbers from Docker Hub image search and tell me what changed since last week.

  • Check Docker Hub image search and summarize what you find in three bullet points.

  • Pull the newest data from Docker Hub image search and give me the result as a table.

How to set up Docker Hub image search in Grok

Pick the way that suits you. Each takes about two minutes.

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run Docker Hub image search

    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/search_images",
        "input": {
          "sort": "pull_count"
        }
      }'

Then paste one of the prompts above: Grok finds Docker Hub image search on Spiral, shows the price and runs it.

Docker Hub image search providers and prices

Spiral runs Docker Hub image search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
Docker Hub · Search images
hub-docker-com/container-images/search_images

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortpull_count or updated_at

Sort key; omit for Docker Hub's relevance order.

Typeimage, extension, plugin, dhi, model, sbx_kit, compose, or helm

Catalog type filter as the Hub UI sends it: image, extension, plugin, dhi, model, sbx_kit, compose, helm. Observed with results: image, extension, dhi.

Orderasc or desc

Sort direction (used with sort); Docker Hub defaults to desc.

Page size1 to 10025

Hits per page.

Every API field of Docker Hub · Search images is on its tool page: open its card above.

What can you do with Docker Hub image search in Grok?

Get a container image research brief with the source details needed to choose what to investigate. A chat agent can explain Docker Hub publisher profiles, categories, repository documentation, tag metadata, and reported vulnerabilities in plain English.

Shortlist a base image

Use catalog categories to frame the search, find Python image candidates, and read their repository documentation. Compare Docker Scout severity counts for the candidate digests before choosing which images to test.

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.

Plan an ARM migration

Find nginx image candidates and compare their tags for the target platform. Resolve shortlisted tags to platform digests, then compare the reported vulnerabilities for those exact images.

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.

Questions about Docker Hub image search in Grok

Can Grok use Docker Hub image search?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Docker Hub image search like any built-in tool.

How much does Docker Hub image search cost in Grok?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need an Alexandria account to use Docker Hub image search in Grok?

No. Spiral runs Docker Hub image search 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 image search in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Docker Hub image search runs?

Docker Hub image search runs in the background. Grok 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.

Get started

Start using Docker Hub image search in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options