Azure app service pulling image failure error
Hi,
I have an azure app service(Linux based) with publishing model as ‘Container’.
I am using private Artifactory to pull docker images from as container registry. I am able to pull sample .Net 6.0 web api from the registry and successfully run.
For some reason, I cant pull one of our application .net 6.0 web apis. I verified that docker files are same for both apis.
The error I am receiving is strange. It says “Unsupported image manifest. The manifest with version ‘application/vnd.docker.distribution.manifest.v1+json’ has not been supported yet.
I also verified that the manifest has ‘application/vnd.oci.image.config.v1+json’.
Can someone please help.
Azure App Service
-
Grmacjon-MSFT 17,456 Reputation points
2024-05-31T18:05:50.68+00:00 Hi @Sankar Gopalakrishnan thanks for bringing this to our attention.
Can you review the Docker image manifest file (usually located at
<image_name>@<tag>/manifest.json
) to make sure it only contains theapplication/vnd.oci.image.config.v1+json
media type? Since the error message mentions the unsupportedapplication/vnd.docker.distribution.manifest.v1+json
format it's possible that both formats might be present in the manifest which is why you're getting this error -
Sankar Gopalakrishnan 20 Reputation points
2024-05-31T18:09:26.8166667+00:00 Thanks for the response @Grmacjon-MSFT Yes. I verified the manifest.json file and it contains only application/vnd.oci.image.config.v1+json
-
Sankar Gopalakrishnan 20 Reputation points
2024-05-31T18:12:02.99+00:00 Hi. Thank you for your response @Grmacjon-MSFT Yes. I verified that my manifest.json file contains only application/vnd.oci.image.config.v1+json
-
Grmacjon-MSFT 17,456 Reputation points
2024-05-31T19:45:03.6533333+00:00 @Sankar Gopalakrishnan thanks for the update. I will check internally with the engineering team to see if this a potential bug and get back to you. Is this the first time you encounter this issue or has this happened before?
-
Sankar Gopalakrishnan 20 Reputation points
2024-05-31T19:52:01.4833333+00:00 I am facing this issue for the padt few weeks. Actually, we just started with containers and Azure app service. @Grmacjon-MSFT
-
Grmacjon-MSFT 17,456 Reputation points
2024-05-31T19:58:48.4733333+00:00 Okay, got it. Lastly can you please share the Azure doc you're following so we can repro this from our end?
-
Sankar Gopalakrishnan 20 Reputation points
2024-05-31T20:07:49.2466667+00:00 @Grmacjon-MSFT there is no one specific doc. I referred to few docs actually. Like I said I am using private artifactory as container registry. There is no issue with running .net 6.0 sample web api. I created a .net 6 web api project in visual studio, I pushed the image to my artifactory, pulled from azure app service and am able to run it. There no issues with connections or anything as far as I know. The issue is with another api project where I use same base image(aspnet:6.0), same docker file and same manifest version
-
Grmacjon-MSFT 17,456 Reputation points
2024-05-31T21:12:46.79+00:00 okay, thanks for the information. I will share this with the engineering team and get back to you
-
Tobias Kleine 6 Reputation points
2024-06-11T07:24:36.4+00:00 I am facing the exact same issue, but with a python docker container on Azure Function App hosted on an ASEv3. Our entire infra deployment is done with Bicep and both the bicep files and dockerfile have not changed since the last successful deployment.
I'm very much looking forward to hearing what the issue could be. EDIT: For us it turned out that there was a typo in the container repo/image name in ACR. This meant that the function/web app was looking for an inexistent image name, and failed with this misleading error message.
-
Vivencio P. Malinao Jr 0 Reputation points
2024-06-27T18:00:42.7033333+00:00 Hi,
Is this already resolved? If yes, what was the root cause and how was it fixed? We are also facing this error when the function app is trying to pull the image from a private repository.
Looking forward to hear some answers :)
-
Sankar Gopalakrishnan 20 Reputation points
2024-06-27T19:16:58.7666667+00:00 @Vivencio P. Malinao Jr No solutions yet. This issue still persists
-
Grmacjon-MSFT 17,456 Reputation points
2024-07-20T00:20:24.1866667+00:00 @Sankar Gopalakrishnan Vivencio P. Malinao Jr Tobias Kleine we are sorry to hear you're still facing this problem. The engineering team is working to resolve this issue. Please us your
App name via email to AzCommunity[at]Microsoft[dot]com with the email subject: <Attn - Grace> so we can assist you with this issue offline.
Thanks,
Grace
-
Wojciech Jakubowski 41 Reputation points
2024-07-24T15:57:32.9733333+00:00 Please check if your image name is correct. In my case that was the problem. I had exactly the same error message and the root cause was a typo in the image name.
Sign in to comment