azureazure-web-app-serviceazure-web-app-for-containers

Deploy Web App Linux starts in Container even publishing model is code


I deployed .net core 6 project in Web App(Linux, which is up and running and when I see the log stream, I can see below logs

Log Stream Logs

when I created the Web App(f1) used following Properties

  1. Publishing model- "Code"
  2. Runtime Stack = "Dotnetcore - 6.0"
  3. Operating System = "Linux"

Even as I selected "Code" instead of Container, why Web App running in container ? What's the difference between selection "Code" and "Container" as Publishing model.

And Kudo also showing "This site can’t be reached ERR_TIMED_OUT",


Solution

  • Azure App Service for Linux by default uses Linux container to host the web apps, hence those container logs can be seen in Log stream. It won't be same with windows web apps.

    Windows:

    enter image description here

    What's the difference between selection "Code" and "Container" as Publishing model.

    1. Publish mode: Code

    2. Publish mode: Container

    When you deploy web app choosing code as publish mode, you can see deployment logs and status in deployment center=>logs:

    enter image description here

    enter image description here

    When you select Container as publish mode, the logs will be as shown below:

    enter image description here

    As it can be seen in your logs, it couldn't find the manifest file.

    enter image description here

    To resolve this,