image not available anymore in microsoft container registry

Arentsen, Guido 20 Reputation points
2024-10-08T09:25:11.1733333+00:00

Hello All,

the image mcr.microsoft.com/azuredocs/azure-vote-front:v1 is not available anymore, and on a lot of pages from microsoft to this image is refered. could you put it back or tell me where i can find it now?

Normal BackOff 21s kubelet Back-off pulling image "mcr.microsoft.com/azuredocs/azure-vote-front:v1"

Warning Failed 21s kubelet Error: ImagePullBackOff

Normal Pulling 10s (x2 over 22s) kubelet Pulling image "mcr.microsoft.com/azuredocs/azure-vote-front:v1"

Warning Failed 10s (x2 over 22s) kubelet Failed to pull image "mcr.microsoft.com/azuredocs/azure-vote-front:v1": rpc error: code = NotFound desc = failed to pull and unpack image "mcr.microsoft.com/azuredocs/azure-vote-front:v1": failed to resolve reference "mcr.microsoft.com/azuredocs/azure-vote-front:v1": mcr.microsoft.com/azuredocs/azure-vote-front:v1: not found

Br

Guido

Warning Failed 10s (x2 over 22s) kubelet Error: ErrImagePull

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
465 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,167 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 12,976 Reputation points
    2024-10-08T12:12:10.3766667+00:00

    Hello Arentsen, Guido,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are looking for the image mcr.microsoft.com/azuredocs/azure-vote-front:v1 which is not available anymore in Microsoft container registry.

    Sorry for any issues this might have caused you. YES! The image mcr.microsoft.com/azuredocs/azure-vote-front:v1 is no longer available. But what you can use is an alternative image or build your own version of the Azure Vote app.

    To achieve this, follow the steps below one after the other:

    # Clone the Azure Vote App Repository
       git clone https://github.com/Azure-Samples/azure-voting-app-redis.git
       cd azure-voting-app-redis/azure-vote
    
    # Build the Docker Image
       docker build -t azure-vote-front:v1 .
    
    # Tag the Image for Your Azure Container Registry (ACR)
       docker tag azure-vote-front:v1 <your_acr_name>.azurecr.io/azure-vote-front:v1
    
    # Push the Image to Your ACR
       docker push <your_acr_name>.azurecr.io/azure-vote-front:v1
    
    # Update Your Kubernetes Deployment in YAML as show in below:
    
    # Apply the Updated Deployment
       kubectl apply -f azure-vote-deployment.yaml
     
    

    STEP OMMITTED: Update Your Kubernetes Deployment - Update your Kubernetes deployment YAML file to use the new image:

      spec:     
    	containers:     
    		- name: azure-vote-front       
    		image: <your_acr_name>.azurecr.io/azure-vote-front:v1 
    

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.