# Docker Hub

Docker Hub is a service provided by Docker for finding and sharing container images with your team.

- **Category:** developer tools
- **Auth:** API_KEY
- **Tools:** 26
- **Triggers:** 0
- **Slug:** `DOCKER_HUB`
- **Version:** 20260211_00

## Tools

### Add Organization Member

**Slug:** `DOCKER_HUB_ADD_ORG_MEMBER`

Invite a user to join a Docker Hub organization. Sends an invitation email to the specified user (by Docker ID or email). The user must accept the invitation to become a member. Requires owner or admin privileges on the target organization.

### Create Docker Hub Organization

**Slug:** `DOCKER_HUB_CREATE_ORGANIZATION`

Create a new Docker Hub organization. Note: This endpoint requires JWT authentication obtained via /v2/users/login and may have restricted access.

### Create Docker Hub Repository

**Slug:** `DOCKER_HUB_CREATE_REPOSITORY`

Creates a new Docker Hub repository under the specified namespace. Use this to programmatically create public or private repositories for storing Docker images. Requires proper authentication with write permissions to the namespace.

### Create Docker Hub Webhook

**Slug:** `DOCKER_HUB_CREATE_WEBHOOK`

Create a webhook on a Docker Hub repository to receive notifications on image push events. This is a two-step process: 1. Create the webhook with a name 2. Add a hook URL to the webhook Requires admin permissions on the repository.

### Delete Repository Images

**Slug:** `DOCKER_HUB_DELETE_IMAGE`

Delete one or more images from your Docker Hub namespace using the bulk delete API. IMPORTANT REQUIREMENTS: - You must own the namespace (your username or an organization you admin) - You cannot delete images from 'library' (official Docker images) - Images are identified by SHA256 digest (get from LIST_IMAGES action) USAGE: 1. First use LIST_IMAGES to get image digests for your repository 2. Then call this action with the namespace, repository, and digest(s) Example: DELETE_IMAGE( namespace="myusername", manifests=[{"repository": "myapp", "digest": "sha256:abc123..."}] )

### Delete Docker Hub Organization

**Slug:** `DOCKER_HUB_DELETE_ORGANIZATION`

Permanently deletes a Docker Hub organization. Requires owner permissions on the organization. This action is idempotent - deleting a non-existent organization returns success (404 treated as success). WARNING: Deletion is irreversible and removes all associated repositories, teams, and members.

### Delete Docker Hub Repository

**Slug:** `DOCKER_HUB_DELETE_REPOSITORY`

Permanently deletes a Docker Hub repository and all its images/tags. WARNING: This action is irreversible. All images, tags, and metadata will be permanently removed. This operation is idempotent - deleting a non-existent repository returns success. You must have admin/owner permissions on the repository to delete it.

### Delete Repository Tag

**Slug:** `DOCKER_HUB_DELETE_TAG`

Permanently delete a specific tag from a Docker Hub repository. Requirements: - Must have write/admin access to the repository - The namespace must be your username or an organization you belong to - This action is irreversible - the tag will be permanently removed Note: Cannot delete tags from official Docker Hub images (library namespace).

### Delete Docker Hub Team

**Slug:** `DOCKER_HUB_DELETE_TEAM`

Permanently deletes a team from a Docker Hub organization. This operation is idempotent - deleting a non-existent team will succeed silently. Requires organization admin permissions. Use DOCKER_HUB_LIST_TEAMS to find available teams before deletion.

### Delete Docker Hub repository webhook

**Slug:** `DOCKER_HUB_DELETE_WEBHOOK`

Deletes a specific webhook from a Docker Hub repository. Use this tool to remove webhook configurations from repositories you own or have admin access to. This is useful for cleaning up outdated, misconfigured, or no longer needed webhooks. Prerequisites: - You must have admin access to the repository - The repository and webhook must exist - Use the list webhooks action first to get the webhook ID Returns a success message if the webhook was deleted, or an error if the webhook doesn't exist or you lack permission to delete it.

### Get Docker Hub Image

**Slug:** `DOCKER_HUB_GET_IMAGE`

Retrieve details about a specific platform-specific image variant by its digest. This tool searches through repository tags to find and return metadata for an image matching the specified SHA256 digest. Returns architecture, OS, size, status, and timestamps. Use LIST_IMAGES first to discover available digests, then use this tool to get details about a specific image variant. Example: GET_IMAGE(namespace="library", repository="ubuntu", digest="sha256:a4453623f2f8319cfff65c43da9be80fe83b1a7ce689579b475867d69495b782")

### Get Organization Info

**Slug:** `DOCKER_HUB_GET_ORGANIZATION`

Retrieves information about a Docker Hub organization/namespace by listing its repositories. Returns the namespace name, total repository count, and details of repositories. Works with public namespaces without requiring special authentication.

### Get Docker Hub Repository

**Slug:** `DOCKER_HUB_GET_REPOSITORY`

Retrieves detailed information about a specific Docker Hub repository. Use this to get repository metadata including description, star/pull counts, permissions, and configuration. Works with both public and private repositories (authentication required for private repos).

### Get Docker Hub Tag

**Slug:** `DOCKER_HUB_GET_TAG`

Tool to retrieve details of a specific Docker Hub repository tag. Use after confirming the namespace, repository, and tag name.

### Get Docker Hub Team

**Slug:** `DOCKER_HUB_GET_TEAM`

Retrieve details of a specific team (group) within a Docker Hub organization. Returns the team's ID, name, and description. Requires organization membership with appropriate permissions to view team details.

### Get Docker Hub Webhook

**Slug:** `DOCKER_HUB_GET_WEBHOOK`

Retrieves details of a specific Docker Hub webhook by its ID. Use this tool when you need to inspect an existing webhook's configuration, including its target URL, configured events, and active status. You must have admin or write access to the repository to retrieve webhook details. Prerequisites: - You must have admin or write access to the repository - The webhook ID must exist (can be obtained from the list webhooks action) Returns the webhook's ID, name, target URL, events, active status, and timestamps.

### List Repository Images

**Slug:** `DOCKER_HUB_LIST_IMAGES`

List platform-specific image variants from a Docker Hub repository. This tool retrieves images by fetching repository tags and extracting the platform-specific image information (architecture, OS, digest, size) from each tag. Images are deduplicated by digest to provide a unique list. Use this to discover available architectures (amd64, arm64, etc.) for a repository. Example: LIST_IMAGES(namespace="library", repository="alpine") returns all platform variants available for the official Alpine Linux image.

### List Docker Hub Organizations

**Slug:** `DOCKER_HUB_LIST_ORGANIZATIONS`

List Docker Hub organizations that the authenticated user belongs to. Returns a paginated list of organizations with details like name, company, and badge status. Use this to discover which organizations a user has access to before performing org-specific operations.

### List Docker Hub Organization Members

**Slug:** `DOCKER_HUB_LIST_ORG_MEMBERS`

Lists members of a Docker Hub organization with their roles and details. Use this tool to: - Audit organization membership - View member roles (owner, member) - Check team assignments for members - Export organization member lists Requirements: - You must have access to the organization (owner or member role) - Authentication via Personal Access Token (PAT) which is exchanged for JWT Note: This endpoint requires organization-level access and proper authentication.

### List Docker Hub Repositories

**Slug:** `DOCKER_HUB_LIST_REPOSITORIES`

Tool to list repositories under a namespace. Use when you need to enumerate repositories within a specific Docker Hub namespace, with optional filtering and pagination.

### List Repository Tags

**Slug:** `DOCKER_HUB_LIST_TAGS`

List all tags for a Docker Hub repository with pagination support. Returns tag metadata including multi-architecture image variants, digests, sizes, and timestamps. Use 'library' as namespace for official Docker images (e.g., library/ubuntu, library/nginx).

### List Team Members

**Slug:** `DOCKER_HUB_LIST_TEAM_MEMBERS`

List members of a Docker Hub team (group) within an organization. Returns a paginated list of team members with their user details. Requires organization membership with appropriate permissions to view team members.

### List Organization Teams

**Slug:** `DOCKER_HUB_LIST_TEAMS`

List all teams (groups) within a Docker Hub organization. Requires organization membership with appropriate permissions. Teams in Docker Hub are called 'groups' in the API.

### List Docker Hub repository webhooks

**Slug:** `DOCKER_HUB_LIST_WEBHOOKS`

Lists all webhooks configured for a Docker Hub repository. Use this tool to retrieve webhook configurations for repositories you own or have admin access to. Webhooks are triggered when specific events occur in the repository (e.g., image push). Prerequisites: - You must have admin or write access to the repository - The repository must exist under the specified namespace Returns a paginated list of webhooks with their IDs, names, target URLs, configured events, and status.

### Remove Organization Member

**Slug:** `DOCKER_HUB_REMOVE_ORG_MEMBER`

Remove a member from a Docker Hub organization. This action revokes the user's access to the organization and all its repositories. Requires organization admin privileges. The operation is idempotent - removing a non-member will not cause an error.

### Remove Team Member

**Slug:** `DOCKER_HUB_REMOVE_TEAM_MEMBER`

Remove a user from a Docker Hub organization team (group). Use this action to revoke a user's membership from a specific team. The operation is idempotent - removing a user who is not a member will succeed silently.
