Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matthiasguentert/6e1464223c871dcf5697988f4ff8b2f8 to your computer and use it in GitHub Desktop.
Save matthiasguentert/6e1464223c871dcf5697988f4ff8b2f8 to your computer and use it in GitHub Desktop.
Azure Container Registry - Azure CLI Cheat Sheet

Import images from hub.docker.io into your ACR

az acr import -n myacr --source docker.io/library/node:latest

Create firewall rule to allow service endpoint connections

Additional notes:

  • ACR service endpoints can only be consumed by AKS clusters and VMs
az acr network-rule add -n myacr --vnet-name vnet-myvnet --subnet snet-my-subnet-with-app-services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment