@Siegfried Heintze Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
The Runtime
value "DOTNET:6.0"
that you are passing to the az webapp create
cmdlet is not valid for windows-based app service plan. If you want to deploy webapp with runtime as dotnet 6 on Windows based /windows-based container app service plan, then your runtime value should be 'dotnet:6'
.
If you want to know more about the list of runtime version that are supported by specific Linux based and windows-based app service plan you can pull them by running this az webapp list-runtimes
cmdlet from the CLI
- Should this dockerfile be identical to the linux version? I expected them to be different.
Ans: *Based on my understanding yes, the docker file will be different for Linux and Windows based containers because they were built from different base images. * - What is the cheapest appservice plan sku for windows containers?
Ans: App service support deploying custom containers starting from Free tier app service plan. refer to this sample documentation on deploying custom container in free tier app service plan - Do I have the correct switches for my app service plan for a windows container?
Ans: Yes, the cmdlet that you are using will create p1v3 SKU windows container app service plan. For more information refer to the az appservice plan create cmdlet documentation - Please guide me in correcting the error I'm getting regarding WindowsFxVersion.
Ans:Pass the runtime value as 'dotnet:6' * instead of "DOTNET:6.0"*
Feel free to reach back to me if you have any further questions on this,