Docker Hub Automation
Skill này làm gì
Công cụ này giúp bạn quản lý tài khoản Docker Hub một cách tự động. Bạn có thể tạo tổ chức, kho chứa, thêm người vào nhóm và thiết lập thông báo khi có image mới được đẩy lên.
Khi nào nên dùng
- ✓Khi bạn tạo một không gian làm việc mới cho nhóm trên Docker Hub.
- ✓Khi bạn muốn sắp xếp các dự án thành những kho chứa riêng.
- ✓Khi bạn muốn được thông báo mỗi khi có phiên bản mới của mã được đẩy lên Docker Hub.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/docker-hub-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một tổ chức tên “my-company” trên Docker Hub và một kho chứa riêng tư tên “my-app” trong tổ chức đó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn kết nối tài khoản Docker Hub với công cụ. Sau đó, bạn có thể yêu cầu nó thực hiện các thao tác như tạo kho chứa hoặc thêm thành viên vào nhóm, mà không cần làm thủ công trên trang web.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
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 |
…
Câu hỏi thường gặp
Tôi có phải trả phí để dùng tất cả tính năng không?
Tạo kho chứa riêng tư có thể cần gói trả phí của Docker Hub. Các chức năng cơ bản khác thường là miễn phí.
Tôi có thể tạo nhóm và thêm người không?
Có, bạn có thể liệt kê các nhóm hiện có, mời thành viên mới vào tổ chức và quản lý ai có quyền truy cập.
“Webhook” là gì?
Webhook là một thông báo tự động. Trong trường hợp này, nó báo cho bạn khi một image container mới được đẩy lên kho chứa Docker Hub.
Chi tiết
Mô tả gốc của tác giả
Automate Docker Hub operations -- manage organizations, repositories, teams, members, and webhooks via the Composio MCP integration.
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #1983
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
mcporter
394kGiúp agent của bạn liệt kê, gọi và kiểm tra các máy chủ MCP cùng công cụ của chúng qua HTTP hoặc stdio, và quản lý cài đặt đăng nhập.
fastmcp
260kGiúp bạn xây dựng, kiểm thử và triển khai một máy chủ MCP bằng Python, cấp cho trợ lý AI quyền truy cập API, cơ sở dữ liệu hoặc file của bạn dưới dạng công cụ.
mcp-oauth-remote-gateway
260kHướng dẫn bạn đăng nhập OAuth cho máy chủ MCP từ xa khi Hermes chạy trên máy chủ, nơi đăng nhập bằng trình duyệt thông thường không thể truy cập được.