Az - ACR
Informations de base
Azure Container Registry (ACR) est un service géré fourni par Microsoft Azure pour stocker et gérer des images de conteneurs Docker et d'autres artefacts. Il offre des fonctionnalités telles que des outils de développement intégrés, la géo-réplication, des mesures de sécurité telles que le contrôle d'accès basé sur les rôles et l'analyse d'images, des builds automatisés, des webhooks et des déclencheurs, et une isolation réseau. Il fonctionne avec des outils populaires comme Docker CLI et Kubernetes, et s'intègre bien avec d'autres services Azure.
Enumérer
Pour énumérer le service, vous pouvez utiliser le script Get-AzACR.ps1:
Az Powershell
Connect to Azure Container Registry
To connect to an Azure Container Registry (ACR) using Az PowerShell, you can use the Connect-AzAccount
cmdlet to sign in to your Azure account, and then use the Select-AzSubscription
cmdlet to select the subscription containing your ACR. Finally, you can use the Get-AzContainerRegistry
cmdlet to get information about the ACR.
List Images in Azure Container Registry
You can list the images stored in an Azure Container Registry using the Get-AzContainerRegistryRepository
cmdlet. This will provide you with a list of all the repositories (image names) in the specified ACR.
Get Image Manifest
To get the manifest of a specific image in an Azure Container Registry, you can use the Get-AzContainerRegistryManifest
cmdlet. This will give you detailed information about the layers and configuration of the image.
Delete Image from Azure Container Registry
If you need to delete an image from an Azure Container Registry, you can use the Remove-AzContainerRegistryRepository
cmdlet. Make sure to specify the resource group, ACR name, repository name, and tag of the image you want to delete.
Connexion et extraction depuis le registre
Dernière mise à jour