Kelola resource Azure Container Registry termasuk image, cloud builds, ACR Tasks, dan networking menggunakan command group az acr.
- Bintang GitHub
- 41.038
- File
- 5
- Commit terakhir
- 11 Nov 2026
- Lisensi
- MIT
- Tool yang diizinkan
- —
Apa fungsi skill azure-container-registry-cli?
azure-container-registry-cli adalah agent skill. Kelola resource Azure Container Registry termasuk image, cloud builds, ACR Tasks, dan networking menggunakan command group az acr.
Ringkasan dibuat dari SKILL.md skill ini.
Tentang skill azure-container-registry-cli
Skill ini memungkinkan developer dan DevOps engineer untuk mengelola resource Azure Container Registry melalui Azure CLI. Skill ini memberikan akses langsung ke command group az acr untuk menangani seluruh lifecycle sebuah registry, mulai dari pembuatan dan penghapusan hingga konfigurasi networking dan geo-replication. Agent harus memuat skill ini saat user perlu berinteraksi dengan container images, mengelola cloud builds, atau mengonfigurasi pengaturan keamanan di dalam Azure.
User dapat melakukan operasi server-side seperti mengimpor image dari registry lain atau menjalankan cloud builds via ACR Tasks, sehingga tidak memerlukan local Docker daemon. Tool ini mendukung berbagai tier registry, termasuk fitur Premium seperti private endpoints, agent pools, dan repository-scoped tokens. Skill ini bergantung pada core Azure CLI dan dapat menggunakan extension acrtransfer untuk pipeline export dan import tertentu. Skill ini menghasilkan command yang dapat dieksekusi untuk mengelola repository, tags, manifests, dan diagnostik konektivitas.
Apa yang bisa dilakukan agent dengannya
- 1Melakukan cloud-based image buildsAgent dapat melakukan build dan push container images secara langsung ke Azure tanpa memerlukan instalasi Docker lokal.
- 2Transfer image antar registryDeveloper dapat memindahkan image dari satu registry ke registry lainnya menggunakan server-side copying untuk menghemat bandwidth dan storage lokal.
- 3Mengelola konten repository dan tagsAnda dapat melakukan list, show, atau delete pada repository dan tags tertentu untuk menjaga lingkungan container Anda.
- 4Mendiagnosis kesehatan dan konektivitas registryAI dapat menjalankan pemeriksaan diagnostik untuk memverifikasi konektivitas dan konfigurasi Azure Container Registry.
Ditulis dari SKILL.md milik skill tersebut. Setiap use case diverifikasi dengan kutipan darinya.
Cara install skill azure-container-registry-cli
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill azure-container-registry-cli di Claude Code
~/.claude/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.claude/skills/azure-container-registry-cliInstall skill azure-container-registry-cli di Claude Code (project)
.claude/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli .claude/skills/azure-container-registry-cliInstall skill azure-container-registry-cli di Codex
~/.agents/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.agents/skills/azure-container-registry-cliInstall skill azure-container-registry-cli di Gemini CLI
~/.gemini/skills/azure-container-registry-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.gemini/skills/azure-container-registry-cliInstall skill azure-container-registry-cli di Claude.ai
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
Pengecekan otomatis
Berjalan 15 Nov 2026Laporan lengkap →Lolos cek otomatis kami. Ini bukan audit keamanan: baca skripnya sebelum membiarkan agent menjalankannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkaugithub/awesome-copilot/skills/azure-container-registry-cli is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/azure-con ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Lolos
- Skrip tanpa unduh-lalu-jalankan atau pencurian kredensialNo scripts in the skill folderLolos
- Tidak ada instruksi tersembunyi di SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-con ↗Lolos
- Tool yang diizinkan otomatis dibatasiNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/azure-con ↗Lolos
- SKILL.md mengikuti format Agent SkillsValid name and description; says when to use it; 91 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-con ↗Lolos
SKILL.md
Lihat di GitHubAzure 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 |
Berkas dalam skill ini
5Pertanyaan seputar skill azure-container-registry-cli
Bagaimana cara install skill azure-container-registry-cli di Claude Code?
Jalankan npx degit github/awesome-copilot/skills/azure-container-registry-cli ~/.claude/skills/azure-container-registry-cli. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill azure-container-registry-cli?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.
Apakah saya memerlukan extension untuk menggunakan command group az acr?
Tidak, az acr sudah termasuk dalam core Azure CLI, meskipun extension acrtransfer diperlukan untuk pipeline export/import.
Bagaimana cara build image tanpa memiliki local Docker daemon?
Anda dapat menggunakan command az acr build untuk melakukan cloud image builds secara langsung di Azure.
Apa cara terbaik untuk memindahkan image antar registry?
Gunakan command az acr import untuk melakukan server-side copy, yang lebih cepat dan tidak memerlukan local storage.