@Zarick-5916 AFAIK about how containers work, that won't be possible. Linux Containers can only run on a Linux Host. Docker for Windows, for example, runs Linux Containers on Windows by using a virtualized Linux VM.
The OS for Linux app deployment under App Service Plan
On the App Service Plan, we can choose between Linux and Windows as the OS.
But from below docs:
It only provides details for the Windows OS environment. The Notes section seems to suggest Linux app is run under a Container.
Does it mean that, if I choose Linux as the OS for App Service Plan, the app is simply running in a container where the host OS is still Windows?
Azure App Service
-
Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
2021-07-26T03:27:59.423+00:00
1 additional answer
Sort by: Most helpful
-
Jaliya Udagedara 2,836 Reputation points MVP Volunteer Moderator
2021-07-26T04:15:54.837+00:00 Adding to @Pramod Valavala answer, when you chose Linux as the operating system, based on the Runtime stack you select, Azure will create a Linux container from an appropriate language-specific built-in image and run your app service on that. If the runtime your application requires is not supported in the built-in images or you want custom dependencies installed, you can deploy it with a custom container using Web App for Containers.
Run following command to view the latest languages and supported versions,
az webapp list-runtimes --linux