WebApp with Docker restart takes very long

Thorn Walli 1 Reputation point
2022-12-19T11:18:11.227+00:00

As the title describes I have a problem with the duration when launching a WebApp with a Docker instance.

The creation of the Docker image and the loading of the WebApp is done in the Azure CI.

  1. create a new build image.
  2. replace it in the WebApp.
  3. stop and restart the WebApp.

I would expect the instance to be available again after 10 minutes at the latest, but unfortunately I have to wait up to 30 minutes until I get something back via a browser call.

According to the log, the Docker instance starts, but somehow the routing of the domain to the Docker does not work.

What is the reason for this, is there a trick or a solution?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,906 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,731 Reputation points Microsoft Employee Moderator
    2022-12-23T05:42:47.807+00:00

    @Thorn Walli We understand you are experiencing slow start ups of your Web App Docker Container.

    We do agree with lextm that troubleshooting performance issues is one of the hardest things to do on a public forum. Without access to the web app's logs, we are left to make many assumptions.

    One tool that I can say would be a good place to start is the diagnose and solve tool. This is the same tooling that support engineers use so it might help shed some light on your slow start ups.

    1. Navigate to portal.azure.com
    2. Select your web app
    3. Navigate to the "diagnose and solve problems" blade
    4. Check out the different reports. Ensure you have the timeframe selected to a time where a slow startup was encountered.

    If this helps, great. If not, please reply back to here as there is a final item that could be used.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.