Az - ACR
기본 정보
Azure Container Registry (ACR)는 Microsoft Azure에서 제공하는 관리형 서비스로, Docker 컨테이너 이미지 및 기타 아티팩트를 저장하고 관리하는 데 사용됩니다. 통합 개발자 도구, 지리적 복제, 역할 기반 액세스 제어 및 이미지 스캐닝과 같은 보안 기능, 자동 빌드, 웹훅 및 트리거, 네트워크 격리와 같은 기능을 제공합니다. Docker CLI 및 Kubernetes와 같은 인기있는 도구와 함께 작동하며 다른 Azure 서비스와 원활하게 통합됩니다.
열거
서비스를 열거하기 위해 Get-AzACR.ps1 스크립트를 사용할 수 있습니다:
az acr create --name --resource-group --sku Basic
az acr login --name
az acr repository list --name --output table
az acr repository show-tags --name --repository --output table
az acr repository show-manifests --name --repository --output table
az acr repository show --name --repository --manifest
az acr repository delete --name --repository --manifest
az acr repository untag --name --repository --tag
az acr repository delete --name --repository --tag
az acr repository show --name --repository --tag
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag --output table
az acr repository show --name --repository --manifest --output table
az acr repository show --name --repository --tag <tag
Azure Container Registry (ACR)는 Azure에서 Docker 이미지를 저장, 관리 및 배포하기 위한 서비스입니다. ACR은 개발자 및 운영팀이 이미지를 쉽게 공유하고 사용할 수 있도록 도와줍니다.
ACR을 사용하여 이미지를 관리하려면 다음 단계를 따르십시오.
ACR 인스턴스 만들기:
New-AzContainerRegistry
cmdlet을 사용하여 ACR 인스턴스를 만듭니다. 인스턴스에는 고유한 이름과 리소스 그룹, 위치 등이 필요합니다.이미지 업로드:
az acr build
명령을 사용하여 로컬 머신에서 이미지를 빌드하고 ACR에 업로드할 수 있습니다.이미지 다운로드:
az acr login
명령을 사용하여 ACR에 로그인한 후,docker pull
명령을 사용하여 이미지를 다운로드할 수 있습니다.이미지 삭제:
az acr repository delete
명령을 사용하여 ACR에서 이미지를 삭제할 수 있습니다.
ACR을 보안하기 위해 다음 사항을 고려해야 합니다.
액세스 제어: ACR에 대한 액세스를 제한하기 위해 RBAC(역할 기반 액세스 제어)를 사용할 수 있습니다. 필요한 권한만 부여하여 보안을 강화할 수 있습니다.
네트워크 보안: ACR은 가상 네트워크에 연결하여 액세스를 제한할 수 있습니다. 네트워크 보안 그룹을 사용하여 허용되는 IP 주소 범위를 지정할 수 있습니다.
이미지 스캔: ACR은 이미지에 대한 취약점 스캔을 제공합니다. 이미지를 업로드하기 전에 스캔하여 보안 문제를 식별하고 해결할 수 있습니다.
로깅 및 감사: ACR은 로깅 및 감사 기능을 제공하여 이미지에 대한 액세스 및 변경 내역을 추적할 수 있습니다. 이를 통해 보안 이슈를 식별하고 대응할 수 있습니다.
ACR은 Docker 이미지를 안전하게 관리하고 배포하기 위한 강력한 도구입니다. 이러한 보안 기능을 활용하여 ACR을 안전하게 유지할 수 있습니다.
Azure CLI를 사용하여 Azure Container Registry(ACR)에 로그인합니다.
ACR에서 이미지를 가져옵니다.
```bash docker login .azurecr.io --username --password docker pull .azurecr.io/: ```
最終更新