Image dropdown is not showing list of images in Azure Spring App Custom Image option

Sapna 0 Reputation points
2023-08-26T15:25:37.4233333+00:00

Hi,

Image dropdown is not showing list of images in Azure Spring App Custom Image, ACR option

I have created new image and pushed it to Azure Container Registry. Same image, I am able to pull to my local system. But in Azure Spring Apps, while creating App with Custom Container, selecting ACR, Image drop down is not listing the image.

I am able to pull the image to my local system with this cmd: docker run -it -p 8083:8083 acrkunal.azurecr.io/demo-azure-app:v1

ACR registry is getting populating but not demo-azure-app in Image drop down and v1 in tag drop down

I am using it with Free Subscription.

Please help.

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
307 questions
Azure Spring Apps
Azure Spring Apps
An Azure platform as a service for running Spring Boot applications at cloud scale. Previously known as Azure Spring Cloud.
86 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 18,786 Reputation points
    2023-08-29T07:25:55.8366667+00:00

    Hi @Sapna

    That's right! Enabling the Admin User option in the Access Keys section of the Azure Container Registry (ACR) settings is required if you want to use the ACR with Azure Spring Apps Custom Container feature.

    To enable the Admin User option, follow these steps:

    Go to the Azure portal and navigate to your ACR instance

    Click on the "Access keys" option under the "Settings" section in the left-hand menu.

    Under the "Admin user" section, click on the "Enable" button.

    Once the Admin User option is enabled, you can use the ACR with Azure Spring Apps Custom Container feature.

    Note that enabling the Admin User option is not recommended for production environments, as it can pose a security risk. It is recommended to use service principles or managed identities for authentication instead.

    Please accept it as the answer, so that the relevancy of this post will improve when anyone in the community searches for a similar query.

    0 comments No comments