John
John

Reputation: 1

Docker Container publish error on Azure

I have created a docker image from ASP.NET 4.5 version on Windows 10 using the base image microsoft/windowsservercore. I then deployed my changes to the image using CLI.

I then pushed my image to Azure Container Registry. Now when I try to create a Container on Azure using the above image I get the below error:

"The OS version of image xxxx.azurecr.io/xxximage:latest" is not supported. (Code:OsVersionNotSupported)

Any help is much appreciated as I have spent quite a lot of time investigating this.

Upvotes: 0

Views: 266

Answers (1)

dailydev
dailydev

Reputation: 21

Only Windows LTS version of containers are supported at the moment for ACI. You can find some clue here: https://github.com/MicrosoftDocs/azure-docs/issues/8586
e.g. you can use microsoft/aspnet:4.6.2-windowsservercore-ltsc2016 image which can then be pushed and deployed in Azure.

Upvotes: 2

Related Questions