[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Docker Hub repository tags](https://spiral.ai/integrations/gemini/docker-hub-repository-tags)

# How to Use Docker Hub repository tags in Gemini

Returns a repository's tags with platform details and push dates. Use it to compare available image versions before inspecting one tag in detail.

|  |  |
| --- | --- |
| Model | Docker Hub repository tags |
| 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 repository tags in Gemini

- Use Docker Hub repository tags to look this up and give me the result as a table.
- Pull the latest numbers from Docker Hub repository tags and tell me what changed since last week.
- Check Docker Hub repository tags and summarize what you find in three bullet points.
- Pull the newest data from Docker Hub repository tags and give me the result as a table.
- Check Docker Hub repository tags every morning and tell me only when something changed.

## How to set up Docker Hub repository tags in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 repository tags**: 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/list_tags",
    "input": {
      "repository": "<repository>"
    }
  }'
```

Then paste one of the prompts above: Gemini finds Docker Hub repository tags on Spiral, shows the price and runs it.

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

## Docker Hub repository tags tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| name |  | — | Substring filter on the tag name (e.g. `alpine`). Pattern: ^[A-Za-z0-9_.-]+$. |
| cursor |  | — | `next_cursor` from a previous page (the 1-based page number). Pattern: ^[0-9]+$. |
| ordering | last_updated, -last_updated, name | — | `last_updated` (newest first, Docker Hub's default), `-last_updated` (oldest first) or `name`. |
| namespace |  | library | Docker Hub namespace: an organization or user name; `library` for Docker Official Images. Pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$. |
| page_size | 1 to 100 | 25 | Records per page (Docker Hub clamps anything above 100 to 100). |

## What can you do with Docker Hub repository tags in Gemini?

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.

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

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

### Assess an image upgrade

Read the nginx repository documentation and compare available tags. Inspect candidate tags for platform digests and sizes, then compare Docker Scout severity counts before preparing an upgrade proposal.

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

## Overview

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

## Docker Hub repository tags in other agents

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

## More Gemini guides

- [Docker Hub repository details](https://spiral.ai/integrations/gemini/docker-hub-repository-details)
- [ElevenLabs API endpoint reference](https://spiral.ai/integrations/gemini/elevenlabs-api-endpoint-reference)
- [Docker Hub publisher repositories](https://spiral.ai/integrations/gemini/docker-hub-publisher-repositories)
- [ElevenLabs Help Center search](https://spiral.ai/integrations/gemini/elevenlabs-help-center-search)
- [Docker Hub publisher profile](https://spiral.ai/integrations/gemini/docker-hub-publisher-profile)
- [ElevenLabs blog post](https://spiral.ai/integrations/gemini/elevenlabs-blog-post)

## Questions about Docker Hub repository tags in Gemini

**Can Gemini use Docker Hub repository tags?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Docker Hub repository tags like any built-in tool.

**How much does Docker Hub repository tags cost in Gemini?**

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

**Do I need an Alexandria account to use Docker Hub repository tags in Gemini?**

No. Spiral runs Docker Hub repository tags 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 repository tags in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Docker Hub repository tags runs?**

Docker Hub repository tags runs in the background. Gemini 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.

