[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [Docker Hub image categories](https://spiral.ai/integrations/vscode/docker-hub-image-categories)

# How to Use Docker Hub image categories in VS Code

Returns Docker Hub's catalog categories. Use it to organize image research by purpose before exploring databases, web servers, or monitoring tools.

|  |  |
| --- | --- |
| Model | Docker Hub image categories |
| 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 categories in VS Code

- Use Docker Hub image categories 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 categories and tell me what changed since last week.
- Check Docker Hub image categories and summarize what you find in three bullet points.
- Pull the newest data from Docker Hub image categories and give me the result as a table.
- Check Docker Hub image categories every morning and tell me only when something changed.

## How to set up Docker Hub image categories in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS Code 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 categories**: 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_categories",
    "input": {}
  }'
```

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

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

## Docker Hub image categories tools and prices

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

## What can you do with Docker Hub image categories in VS 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.

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

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

## Overview

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

## Docker Hub image categories in other agents

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

## More VS Code guides

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

## Questions about Docker Hub image categories in VS Code

**Can VS Code use Docker Hub image categories?**

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

**How much does Docker Hub image categories cost in VS 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 VS Code plan is separate.

**Do I need an Alexandria account to use Docker Hub image categories in VS Code?**

No. Spiral runs Docker Hub image categories 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 categories in VS Code?**

About two minutes: add the hosted server, then sign in.

**Does VS Code wait while Docker Hub image categories runs?**

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

