Why during slot restart of App Service, platform adds a slash

Łukasz Kurzyniec 0 Reputation points
2024-09-30T07:11:07.9166667+00:00

That slash cause application fail to start, as it can't download the image from ACR.

User's image

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,968 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Abiola Akinbade 29,490 Reputation points Volunteer Moderator
    2024-09-30T07:29:01.8366667+00:00

    Check that the docker image path is set without any trailing slashes. Normally it should be like: yourregistry.azurecr.io/your-repo/image:tag

    You should also consider maybe using app settings to dynamically get the correct image instead of hardcoding.

    Lastly, check your app has correct permissions to access the ACR and that the registry path is correct.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

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.