💼 Docker Hub Automation
Docker Hubでの組織やリポジトリ、
📺 まず動画で見る(YouTube)
▶ 【自動化】AIガチ勢の最新活用術6選がこれ1本で丸分かり!【ClaudeCode・AIエージェント・AI経営・Skills・MCP】 ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Automate Docker Hub operations -- manage organizations, repositories, teams, members, and webhooks via the Composio MCP integration.
🇯🇵 日本人クリエイター向け解説
Docker Hubでの組織やリポジトリ、
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o docker-hub-automation.zip https://jpskill.com/download/1566.zip && unzip -o docker-hub-automation.zip && rm docker-hub-automation.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/1566.zip -OutFile "$d\docker-hub-automation.zip"; Expand-Archive "$d\docker-hub-automation.zip" -DestinationPath $d -Force; ri "$d\docker-hub-automation.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
docker-hub-automation.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
docker-hub-automationフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Docker Hub Automation で、私のビジネスを分析して改善案を3つ提案して
- › Docker Hub Automation を使って、来週の会議用の資料を作って
- › Docker Hub Automation で、現状の課題を整理してアクションプランに落として
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] Docker Hub Automation
Docker Hub Automation
Docker Hub のワークフローを自動化します。組織、リポジトリ、チームの作成と管理、メンバーの追加、イメージプッシュ Webhook の設定、コンテナイメージのリスト表示が可能です。
ツールキットのドキュメント: composio.dev/toolkits/docker_hub
セットアップ
- クライアントに Composio MCP サーバーを追加します:
https://rube.app/mcp - プロンプトが表示されたら Docker Hub アカウントを接続します (JWT/トークン認証)
- 以下のワークフローの使用を開始します
コアワークフロー
1. 組織のリスト表示
認証されたユーザーが所属する組織を検出するには、DOCKER_HUB_LIST_ORGANIZATIONS を使用します。
Tool: DOCKER_HUB_LIST_ORGANIZATIONS
Inputs:
- page: integer (1-indexed, default 1)
- page_size: integer (1-100, default 25)
2. 組織の作成
新しい Docker Hub 組織をプログラムで作成するには、DOCKER_HUB_CREATE_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
注: /v2/users/login 経由で取得した JWT 認証が必要であり、アクセスが制限される場合があります。
3. 組織の詳細とリポジトリの取得
名前空間情報とそのリポジトリを取得するには、DOCKER_HUB_GET_ORGANIZATION を使用します。任意の公開名前空間で動作します。
Tool: DOCKER_HUB_GET_ORGANIZATION
Inputs:
- organization: string (required) -- e.g., "docker", "bitnami", "library"
4. リポジトリの作成
名前空間の下に公開またはプライベートリポジトリを作成するには、DOCKER_HUB_CREATE_REPOSITORY を使用します。
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. フィルタリングによるリポジトリのリスト表示
並べ替えとコンテンツタイプフィルタリングを使用して名前空間内のリポジトリを列挙するには、DOCKER_HUB_LIST_REPOSITORIES を使用します。
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. チーム、メンバー、Webhook の管理
組織内のチームをリスト表示するには DOCKER_HUB_LIST_TEAMS を、ユーザーを招待するには DOCKER_HUB_ADD_ORG_MEMBER を、プッシュ通知には DOCKER_HUB_CREATE_WEBHOOK を使用します。
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
既知の落とし穴
| 落とし穴 | 詳細 |
|---|---|
| JWT 認証 | DOCKER_HUB_CREATE_ORGANIZATION には /v2/users/login からの JWT 認証が必要です。標準の API トークンでは不十分な場合があります。 |
| プライベートリポジトリの制限 | プライベートリポジトリ (is_private: true) の作成には、有料の Docker Hub プランが必要です。 |
| 組織名の制約 | 組織名は小文字で、2文字以上、文字、数字、.、_、または - のみを含める必要があります。 |
| Webhook の2段階プロセス | DOCKER_HUB_CREATE_WEBHOOK は2段階のプロセスです。まず名前で Webhook を作成し、次にそれにフック URL を追加します。 |
| ページネーション | すべてのリストエンドポイントはページベースのページネーションを使用します。結果がなくなるまでページを反復処理してください。 |
クイックリファレンス
| ツールスラッグ | 説明 |
|---|---|
DOCKER_HUB_LIST_ORGANIZATIONS |
ユーザーが所属する組織をリスト表示 |
DOCKER_HUB_CREATE_ORGANIZATION |
新しい Docker Hub 組織を作成 |
DOCKER_HUB_GET_ORGANIZATION |
組織の詳細とリポジトリリストを取得 |
DOCKER_HUB_CREATE_REPOSITORY |
名前空間の下にリポジトリを作成 |
DOCKER_HUB_LIST_REPOSITORIES |
フィルタリングと並べ替えでリポジトリをリスト表示 |
DOCKER_HUB_LIST_TEAMS |
組織内のチーム/グループをリスト表示 |
DOCKER_HUB_ADD_ORG_MEMBER |
ユーザーを組織に招待 |
DOCKER_HUB_CREATE_WEBHOOK |
リポジトリにプッシュ通知 Webhook を作成 |
Powered by Composio
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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_CREATE_WEBHOOK |
Create push-notification webhook on a repo |
Powered by Composio