Reputation: 123
Created a docker image. Deployed the app as web service; create a registry and push the image to azure container and the app is running fine online. I tried to login but cant. Username or password incorrect. On top of that my laptop crashed and I did not save a copy.
Can someone help me on how to pull the image from acr with the source code and download to my local machine. I found some tutorial online but was a bit vague.
Please help
Upvotes: 9
Views: 20871
Reputation: 878
az login
az acr login --name $REGISTRY
docker pull ${REGISTRY}.azurecr.io/${IMAGE}:${TAG}
Optionnal: List your images
az acr repository list -n $REGISTRY --output table
Upvotes: 22