[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [Docker Hub image search](https://spiral.ai/integrations/goose/docker-hub-image-search)

# How to Use Docker Hub image search in goose

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

|  |  |
| --- | --- |
| Model | Docker Hub image search |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Docker Hub image search in goose

- Use Docker Hub image search for PostgreSQL and prepare a candidate table in our project notes with repository names and returned descriptions.
- Use Docker Hub image search to look this up and give me the result as a table. Save the result in ./assets.
- 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 goose

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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.

```bash
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.

```bash
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: goose finds Docker Hub image search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/goose

## Docker Hub image search tools and prices

- [Docker Hub · Search images](https://spiral.ai/tools/alexandria/hub-docker-com/container-images/search_images) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | pull_count, updated_at | — | Sort key; omit for Docker Hub's relevance order. |
| type | image, extension, plugin, dhi, model, sbx_kit, compose, 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`. |
| order | asc, desc | — | Sort direction (used with `sort`); Docker Hub defaults to `desc`. |
| query |  |  | Search text. May be empty when at least one filter is given. |
| badges |  | — | Badge filter; several values are OR-ed. |
| cursor |  | — | `next_cursor` from a previous page (the `from` offset). Pattern: ^[0-9]+$. |

## What can you do with Docker Hub image search in goose?

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.

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

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All goose guides](https://spiral.ai/integrations/goose)

## Docker Hub image search in other agents

- [Amp](https://spiral.ai/integrations/amp/docker-hub-image-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/docker-hub-image-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/docker-hub-image-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/docker-hub-image-search)
- [Cline](https://spiral.ai/integrations/cline/docker-hub-image-search)
- [Codex](https://spiral.ai/integrations/codex/docker-hub-image-search)
- [Cursor](https://spiral.ai/integrations/cursor/docker-hub-image-search)
- [Devin](https://spiral.ai/integrations/devin/docker-hub-image-search)
- [dots](https://spiral.ai/integrations/dots/docker-hub-image-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/docker-hub-image-search)
- [Gemini](https://spiral.ai/integrations/gemini/docker-hub-image-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/docker-hub-image-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/docker-hub-image-search)
- [Grok](https://spiral.ai/integrations/grok/docker-hub-image-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/docker-hub-image-search)
- [Hermes](https://spiral.ai/integrations/hermes/docker-hub-image-search)
- [Instinct](https://spiral.ai/integrations/instinct/docker-hub-image-search)
- [Manus](https://spiral.ai/integrations/manus/docker-hub-image-search)
- [Muse](https://spiral.ai/integrations/muse/docker-hub-image-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/docker-hub-image-search)
- [n8n](https://spiral.ai/integrations/n8n/docker-hub-image-search)
- [Notion](https://spiral.ai/integrations/notion/docker-hub-image-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/docker-hub-image-search)
- [opencode](https://spiral.ai/integrations/opencode/docker-hub-image-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/docker-hub-image-search)
- [Raycast](https://spiral.ai/integrations/raycast/docker-hub-image-search)
- [VS Code](https://spiral.ai/integrations/vscode/docker-hub-image-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/docker-hub-image-search)
- [Zapier](https://spiral.ai/integrations/zapier/docker-hub-image-search)

## More goose guides

- [Docker Hub image categories](https://spiral.ai/integrations/goose/docker-hub-image-categories)
- [Docker Hub image tag details](https://spiral.ai/integrations/goose/docker-hub-image-tag-details)
- [DOI resolution statistics](https://spiral.ai/integrations/goose/doi-resolution-statistics)
- [Docker Hub image vulnerability summary](https://spiral.ai/integrations/goose/docker-hub-image-vulnerability-summary)
- [DOI registration agency lookup](https://spiral.ai/integrations/goose/doi-registration-agency-lookup)
- [Docker Hub publisher profile](https://spiral.ai/integrations/goose/docker-hub-publisher-profile)

## Questions about Docker Hub image search in goose

**Can goose use Docker Hub image search?**

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

**How much does Docker Hub image search cost in goose?**

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

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

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 goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while Docker Hub image search runs?**

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

