SKILL.md
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
- Add the Composio MCP server to your client:
https://rube.app/mcp - Connect your Docker Hub account when prompted (JWT/token authentication)
- 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
