Skip to content
Skillpedia
Connectors (MCP)77k · #1086

Docker Hub Automation

Makes your agent automate operations on Docker Hub. It manages repositories, teams, and webhooks for your containers.

What it does

This tool helps you automatically manage your Docker Hub accounts. You can create organizations, repositories, add people to teams, and set up alerts for when new images are pushed.

When to use it

  • ✓Creating a new workspace for your team on Docker Hub.
  • ✓Organizing your projects into separate repositories.
  • ✓Being notified whenever a new version of your code is pushed to Docker Hub.

Example of what to ask your AI

“Create an organization named 'my-company' on Docker Hub and a private repository named 'my-app' within it.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/docker-hub-automation/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/docker-hub-automation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

You connect your Docker Hub account to the tool. Then, you can ask it to perform actions like creating repositories or adding members to teams, without having to do everything manually on the website.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add ComposioHQ/awesome-claude-skills --skill Docker Hub Automation

Or download just the file:

curl -L https://raw.githubusercontent.com/ComposioHQ/awesome-claude-skills/master/composio-skills/docker-hub-automation/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Docker Hub Automation

Automate your Docker Hub workflows -- create and manage organizations, repositories, teams, add members, set up image push webhooks, and list container images.

Toolkit docs: composio.dev/toolkits/docker_hub


Setup

  1. Add the Composio MCP server to your client: https://rube.app/mcp
  2. Connect your Docker Hub account when prompted (JWT/token authentication)
  3. Start using the workflows below

Core Workflows

1. List Organizations

Use DOCKER_HUB_LIST_ORGANIZATIONS to discover which organizations the authenticated user belongs to.

Tool: DOCKER_HUB_LIST_ORGANIZATIONS
Inputs:
  - page: integer (1-indexed, default 1)
  - page_size: integer (1-100, default 25)

2. Create an Organization

Use DOCKER_HUB_CREATE_ORGANIZATION to programmatically create a new Docker Hub organization.

Tool: DOCKER_HUB_CREATE_ORGANIZATION
Inputs:
  - orgname: string (required) -- lowercase, letters/numbers/._- only, min 2 chars
  - company: string (optional) -- company name associated with the org

Note: Requires JWT authentication obtained via /v2/users/login and may have restricted access.

3. Get Organization Details and Repositories

Use DOCKER_HUB_GET_ORGANIZATION to retrieve namespace info and its repositories. Works with any public namespace.

Tool: DOCKER_HUB_GET_ORGANIZATION
Inputs:
  - organization: string (required) -- e.g., "docker", "bitnami", "library"

4. Create a Repository

Use DOCKER_HUB_CREATE_REPOSITORY to create public or private repositories under a namespace.

Tool: DOCKER_HUB_CREATE_REPOSITORY
Inputs:
  - namespace: string (required) -- Docker Hub username or org name
  - name: string (required) -- lowercase; letters, numbers, ._- allowed
  - description: string (optional) -- max 100 characters
  - full_description: string (optional) -- Markdown README content
  - is_private: boolean (default false) -- private repos require paid plan

5. List Repositories with Filtering

Use DOCKER_HUB_LIST_REPOSITORIES to enumerate repos within a namespace with sorting and content-type filtering.

Tool: DOCKER_HUB_LIST_REPOSITORIES
Inputs:
  - namespace: string (required) -- e.g., "library", "myorg"
  - ordering: "name" | "last_updated" | "pull_count" (prefix with - for descending)
  - page: integer (default 1)
  - page_size: integer (1-100, default 25)
  - content_types: string (comma-separated, e.g., "image,artifact")

6. Manage Teams, Members, and Webhooks

Use DOCKER_HUB_LIST_TEAMS to list teams within an org, DOCKER_HUB_ADD_ORG_MEMBER to invite users, and DOCKER_HUB_CREATE_WEBHOOK for push notifications.

Tool: DOCKER_HUB_LIST_TEAMS
  - Lists all teams/groups within a Docker Hub organization

Tool: DOCKER_HUB_ADD_ORG_MEMBER
  - Invite a user to join an organization by Docker ID or email
  - Requires owner or admin permissions

Tool: DOCKER_HUB_CREATE_WEBHOOK
  - Create a webhook on a repository for image push notifications
  - Two-step process: create webhook, then add hook URL
  - Requires admin permissions on the repository

Known Pitfalls

Pitfall Detail
JWT authentication DOCKER_HUB_CREATE_ORGANIZATION requires JWT auth from /v2/users/login -- standard API tokens may not suffice.
Private repo limits Creating private repos (is_private: true) requires a paid Docker Hub plan.
Org name constraints Organization names must be lowercase, at least 2 characters, containing only letters, numbers, ., _, or -.
Webhook two-step DOCKER_HUB_CREATE_WEBHOOK is a two-step process: first create the webhook with a name, then add a hook URL to it.
Pagination All list endpoints use page-based pagination -- iterate pages until results are exhausted.

Quick Reference

Tool Slug Description
DOCKER_HUB_LIST_ORGANIZATIONS List orgs the user belongs to
DOCKER_HUB_CREATE_ORGANIZATION Create a new Docker Hub organization
DOCKER_HUB_GET_ORGANIZATION Get org details and repository list
DOCKER_HUB_CREATE_REPOSITORY Create a repository under a namespace
DOCKER_HUB_LIST_REPOSITORIES List repos with filtering and sorting
DOCKER_HUB_LIST_TEAMS List teams/groups within an org
DOCKER_HUB_ADD_ORG_MEMBER Invite a user to an organization

…

FAQ

Do I need to pay to use all features?

Creating private repositories might require a paid Docker Hub plan. Other basic functions are generally free.

Can I create teams and add people?

Yes, you can list existing teams, invite new members to an organization, and manage who has access.

What is a 'webhook'?

A webhook is an automatic alert. In this case, it notifies you when a new container image is pushed to your repository on Docker Hub.

Details

Original description by the author

Automate Docker Hub operations -- manage organizations, repositories, teams, members, and webhooks via the Composio MCP integration.

repo: ComposioHQ/awesome-claude-skills

Popularity

GitHub stars
77k
Ranking position
#1086
License
—
Updated
9/18/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills