Docker Hub Automation
できること
このツールは、Docker Hubのアカウントを自動で管理するお手伝いをします。組織の作成、リポジトリの作成、チームへのメンバー追加、新しいイメージがプッシュされたときの通知設定などができます。
使う場面
- ✓Docker Hubでチーム用の新しいワークスペースを作成するとき。
- ✓プロジェクトを別々のリポジトリに整理したいとき。
- ✓コードの新しいバージョンがDocker Hubにプッシュされたときに通知を受け取りたいとき。
スキルのリンク
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/docker-hub-automation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Docker Hubに「my-company」という名前の組織を作成し、その中に「my-app」というプライベートリポジトリを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、Docker Hubのアカウントをツールに接続します。次に、リポジトリの作成やチームへのメンバー追加などの操作を依頼できます。Webサイトで手作業をする必要はありません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
- 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 |
…
よくある質問
すべての機能を使うには料金がかかりますか?
プライベートリポジトリの作成には、有料のDocker Hubプランが必要な場合があります。その他の基本的な機能は、一般的に無料で利用できます。
チームを作成して人を追加できますか?
はい。既存のチームの一覧表示、組織への新しいメンバーの招待、アクセス権の管理ができます。
「webhook(ウェブフック)」とは何ですか?
自動で届く通知のことです。この場合、Docker Hubのリポジトリに新しいコンテナイメージがプッシュされたときに、お知らせを受け取れます。
詳細
作者による元の説明
Automate Docker Hub operations -- manage organizations, repositories, teams, members, and webhooks via the Composio MCP integration.
人気
- GitHubのスター
- 77k
- ランキング
- #1983
- ライセンス
- —
- 更新日
- 2026/9/18
コメント
- …
このリポジトリの他のスキル
artifacts-builder
77kエージェントが複雑なユーザーインターフェースを構築できるようにします。最新の技術を使い、リッチで対話的なWebページを作成します。
brand-guidelines
77kエージェントが資料に公式のブランドカラーとフォントを適用できるようにします。会社らしく見せる必要がある制作物で、ビジュアルアイデンティティを保つのに役立ちます。
canvas-design
77kエージェントが.pngや.pdf形式のオリジナルのビジュアルアートを作成できるようにします。ポスター、アート、その他の静的なデザインを依頼されたときに使います。
changelog-generator
77kエージェントがコードのコミットから、ユーザー向けのリリースノートを作成します。技術的な情報を、わかりやすい文章に変換します。
似ているスキル
mcporter
394kHTTPまたはstdioでMCPサーバーとそのツールを一覧表示、呼び出し、確認し、サインイン設定を管理するようエージェントを支援します。
fastmcp
260kPythonで、AIアシスタントがAPI、データベース、ファイルをツールとして利用できるMCPサーバーを作成、テスト、デプロイするのを支援します。
mcp-oauth-remote-gateway
260kHermesがサーバー上で動いている場合に、リモートのMCPサーバーのOAuthサインインを手動で完了させ、トークンを保存します。