PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, October 18, 2022

[FIXED] How to pull image from existing azure container registry?

 October 18, 2022     azure, azure-container-registry, azure-web-app-service, docker     No comments   

Issue

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


Solution

  1. Login to your Azure account
az login
  1. Login to Azure Container Registry
az acr login --name $REGISTRY
  1. Pull your Image
docker pull ${REGISTRY}.azurecr.io/${IMAGE}:${TAG}

Optionnal: List your images

az acr repository list -n $REGISTRY --output table


Answered By - Reda E.
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing