az acr コマンドグループを使用して、イメージ、クラウドビルド、ACR Tasks、およびネットワークを含む Azure Container Registry リソースを管理します。
- GitHubスター
- 41,038
- ファイル
- 5
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
azure-container-registry-cli skillは何をしますか
azure-container-registry-cliはAgent Skillsです。 az acr コマンドグループを使用して、イメージ、クラウドビルド、ACR Tasks、およびネットワークを含む Azure Container Registry リソースを管理します。.
skillのSKILL.mdから生成された要約。
azure-container-registry-cli skill について
この SKILL は、Azure CLI を通じて Azure Container Registry リソースの管理を開発者や DevOps エンジニアに提供します。レジストリの作成や削除から、ネットワーク設定、地理的レプリケーションの構成まで、レジストリのライフサイクル全体を扱うための az acr コマンドグループへの直接的なアクセスを可能にします。ユーザーがコンテナイメージの操作、クラウドビルドの管理、または Azure 内のセキュリティ設定の構成を行う必要がある場合に、エージェントはこの SKILL をロードする必要があります。
ユーザーは、他のレジストリからのイメージのインポートや、ACR Tasks を介したクラウドビルドの実行など、サーバーサイドの操作を行うことができます。これにより、ローカルの Docker デーモンは不要になります。このツールは、プライベートエンドポイント、エージェントプール、リポジトリスコープのトークンなどの Premium 機能を含む、さまざまなレジストリティアをサポートしています。コアとなる Azure CLI に依存しており、特定のインポートおよびエクスポートのパイプラインには acrtransfer 拡張機能を利用できます。この SKILL は、リポジトリ、タグ、マニフェスト、および接続性の診断を管理するための実行可能なコマンドを生成します。
エージェントができること
- 1クラウドベースのイメージビルドの実行エージェントは、ローカルに Docker をインストールすることなく、コンテナイメージをビルドして Azure に直接プッシュできます。
- 2レジストリ間のイメージ転送開発者は、サーバーサイドコピーを使用してイメージをあるレジストリから別のレジストリへ移動でき、ローカルの帯域幅とストレージを節約できます。
- 3リポジトリのコンテンツとタグの管理特定のレポジトリやタグを一覧表示、表示、または削除して、コンテナ環境を維持できます。
- 4レジストリの正常性と接続性の診断AI は診断チェックを実行して、Azure Container Registry の接続性と構成を確認できます。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
azure-container-registry-cli skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。Claude Codeにazure-container-registry-cli skillをインストールする
~/.claude/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.claude/skills/azure-container-registry-cliClaude Code (project)にazure-container-registry-cli skillをインストールする
.claude/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli .claude/skills/azure-container-registry-cliCodexにazure-container-registry-cli skillをインストールする
~/.agents/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.agents/skills/azure-container-registry-cliGemini CLIにazure-container-registry-cli skillをインストールする
~/.gemini/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.gemini/skills/azure-container-registry-cliClaude.aiにazure-container-registry-cli skillをインストールする
npx degit github/awesome-copilot/skills/azure-container-registry-cli azure-container-registry-cli && zip -r azure-container-registry-cli.zip azure-container-registry-cli # claude.ai → Customize → Skills → + → Create skill → Upload a skill → azure-container-registry-cli.zip
自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能github/awesome-copilot/skills/azure-container-registry-cli is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/azure-con ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-con ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/azure-con ↗合格
- SKILL.md が Agent Skills の形式に従っているValid name and description; says when to use it; 91 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-con ↗合格
SKILL.md
GitHubで表示Azure Container Registry CLI
Manage Azure Container Registry (ACR) resources using the az acr command group of the Azure CLI.
CLI: az acr ships with core Azure CLI — no extension required (the acrtransfer extension is only needed for export/import pipelines).
Prerequisites
# Install Azure CLI
brew install azure-cli # macOS
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash # Linux
winget install Microsoft.AzureCLI # Windows
# Sign in and select subscription
az login
az account set --subscription {subscription-id}
Quick Start
# Create a registry (SKU: Basic | Standard | Premium)
az acr create --resource-group {rg} --name {registry} --sku Standard
# Authenticate Docker/Podman against the registry
az acr login --name {registry}
# Build and push in the cloud — no local Docker needed
az acr build --registry {registry} --image app:v1 .
# Copy an image from another registry without pull/push
az acr import --name {registry} --source mcr.microsoft.com/hello-world:latest
# List repositories and tags
az acr repository list --name {registry} --output table
az acr repository show-tags --name {registry} --repository app --orderby time_desc
# Diagnose registry connectivity and configuration
az acr check-health --name {registry} --yes
Key Principles
- Prefer
az acr build/ ACR Tasks over localdocker build+docker push: builds run in Azure, work without a local daemon, and integrate with triggers. - Prefer
az acr importto move images between registries: it is server-side, faster, and requires no local storage. - Never enable the admin user for production — use Microsoft Entra identities (RBAC roles
AcrPull/AcrPush, orContainer Registry Repository Reader/Writeron ABAC-enabled registries), repository-scoped tokens, or managed identities. - Premium-only features: geo-replication, private endpoints, retention policies, connected registries, agent pools. (Repository-scoped tokens work in all tiers; zone redundancy is automatic in all tiers in supported regions.)
CLI Structure
az acr
├── create / delete / list / show / update # Registry lifecycle
├── login # Docker credential helper (or --expose-token)
├── check-health / check-name / show-usage # Diagnostics & quota
├── build # Cloud image build (quick task)
├── run # Run a command / multi-step task once
├── task # ACR Tasks (triggers, timers, logs, runs)
├── agentpool # Dedicated task agent pools (Premium)
├── import # Server-side image copy into the registry
├── repository # List/show/delete/untag repos & tags, lock images
├── manifest # Manifest metadata, delete, OCI referrers
├── credential # Admin user credentials (avoid in production)
├── token / scope-map # Repository-scoped tokens (Premium)
├── replication # Geo-replication (Premium)
├── network-rule # IP network rules
├── private-endpoint-connection # Private Link approvals
├── config # content-trust, retention, soft-delete, ...
├── cache / credential-set # Artifact cache (pull-through cache) rules
├── webhook # Push/delete event webhooks
├── connected-registry # On-premises / IoT connected registries
└── export-pipeline / import-pipeline / pipeline-run # acrtransfer extension
Reference Files
Read the relevant reference file based on the user's task. Each file contains complete command syntax and examples for its domain.
| File | When to read | Covers |
|---|---|---|
references/auth-and-security.md |
Login failures, permissions, CI/CD or AKS pull access | az acr login (incl. --expose-token), Entra RBAC roles, service principals, managed identities, --attach-acr for AKS, repository-scoped tokens & scope maps, admin user, content trust |
references/build-and-tasks.md |
Building images in Azure, automation, CI triggers | az acr build, az acr run, multi-step task YAML, az acr task (git/base-image/timer triggers, logs, runs), agent pools |
references/images-and-artifacts.md |
Managing repos, tags, cleanup, storage costs | az acr import, repository & manifest commands, untag vs delete, purge (acr purge), image locking, retention policy, soft delete, artifact cache, show-usage |
references/networking-and-geo.md |
Multi-region, private access, edge scenarios | Geo-replication, zone redundancy, private endpoints, network rules, dedicated data endpoints, connected registries, registry transfer pipelines |
このスキルのファイル
5azure-container-registry-cli skillに関する質問
Claude Codeにazure-container-registry-cli skillをインストールするには
npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.claude/skills/azure-container-registry-cliを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
azure-container-registry-cli skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
az acr コマンドグループを使用するために拡張機能は必要ですか?
いいえ、az acr は Azure CLI のコア機能に含まれています。ただし、エクスポート/インポートのパイプラインには acrtransfer 拡張機能が必要です。
ローカルに Docker デーモンがない状態でイメージをビルドするにはどうすればよいですか?
az acr build コマンドを使用すると、Azure 上で直接クラウドイメージビルドを実行できます。
レジストリ間でイメージを移動する最適な方法は何ですか?
az acr import コマンドを使用してサーバーサイドコピーを実行してください。これにより、ローカルのストレージを必要とせず、高速に処理できます。