Az - ACR

Support HackTricks

기본 정보

Azure Container Registry (ACR)는 Microsoft Azure에서 제공하는 Docker 컨테이너 이미지 및 기타 아티팩트를 저장하고 관리하는 관리형 서비스입니다. 통합 개발자 도구, 지오-복제, 역할 기반 액세스 제어 및 이미지 스캔과 같은 보안 기능, 자동 빌드, 웹훅 및 트리거, 네트워크 격리와 같은 기능을 제공합니다. Docker CLI 및 Kubernetes와 같은 인기 있는 도구와 호환되며 다른 Azure 서비스와 원활하게 통합됩니다.

열거

서비스를 열거하려면 Get-AzACR.ps1 스크립트를 사용할 수 있습니다:

# List Docker images inside the registry
IEX (New-Object Net.Webclient).downloadstring("https://raw.githubusercontent.com/NetSPI/MicroBurst/master/Misc/Get-AzACR.ps1")

Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2

Get-AzACR -username <username> -password <password> -registry <corp-name>.azurecr.io
az acr list --output table
az acr show --name MyRegistry --resource-group MyResourceGroup

Azure PowerShell

# List all ACRs in your subscription
Get-AzContainerRegistry

# Get a specific ACR
Get-AzContainerRegistry -ResourceGroupName "MyResourceGroup" -Name "MyRegistry"

레지스트리에서 로그인하고 풀하기

docker login <corp-name>.azurecr.io --username <username> --password <password>
docker pull <corp-name>.azurecr.io/<image>:<tag>
HackTricks 지원

Last updated