Azure app service for container says No Space Left On Device while deploying containers to it.

Suraj 21 Reputation points
2021-07-02T10:47:26.863+00:00

I am running a Web App for containers, and I have used a same app service plan for 3-4 Web Apps for Containers. It was working pretty fine until now where it says No Space Left On Device while doing deployments for the newer images. May be there are some old images and containers on this device. Is there any way where i can make sure that the old images and conatainers are automatically deleted while deploying new images. I want somememory to be cleared off.

Thank you

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

Accepted answer
  1. SnehaAgrawal-MSFT 21,926 Reputation points
    2021-07-09T06:14:00.997+00:00

    Thanks for reply! For your ask on a 'way to keep this memory cleaned'
    .

    • You would need to restart the webapp to clear out the temp space.
    • In case restarting the specific webapp does not help, you would need to restart all the App Services present in that App Service Plan to clear out the temp space.
    • Also you would need to eventually split up the App Service Plan since the amount of Host Space available on each type of App Service Plan is fixed and it is distributed within all the apps present in the App Service Plan.
      Check document link: https://azure.github.io/AppService/2019/05/21/App-Service-Plan-Density-Check.html
    • Further as a best practice, you would need to work on minimizing the size of Docker Container by choosing appropriate base image.

    Hope this helps. Let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.