Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

81
Views
Disk out of space on Azure Web app on Linux

I having trouble building and deploying new Docker containers on Azure Web App on Linux.
Error logs is claiming to be out off space, and when looking at disk usage through Kudu I can see that I'm indeed out of space.
/>df -H gives:

Filesystem Size  Used Avail Use% Mounted on
none        29G   28G     0 100% /
/dev/sda1   29G   28G     0 100% /etc/hosts

Have deployed several docker containers in web apps before and removed them aswell but it seems as they are still taking up space.
Creating a new App Service plan without anything deployed gives about 5.7G of free space.
Can't seem to run docker commands from the Kudu terminal so I'm not able to check how many images and can't figure out how to clean up space. Also sodu isn't available. Does anyone have any ideas about how to free up some space?

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Your disk was indeed full of Docker images. I have cleared them off; you should be unblocked.

This is a known issue that we will have a fix for soon. Iterating and deploying new containers is a common scenario, and the goal is that this should be completely abstracted away and you should not have to worry about this.

about 4 years ago · Santiago Trujillo Report

0

I believe my coworker and I ran into this issue when pulling images from a repository on Azure. The images would not be cleared after running docker-compose pull, but not appear to be present on the primary node.

We would see the following upon sshing onto that node:

> ssh username@server.eastus.cloudapp.azure.com -A -p 2200
> df -h
Filesystem      Size  Used Avail Use% Mounted on
# ...
/dev/sda1        29G  2.0G   26G   8% /

We would still enounter space issues. After some debugging, we found these results differed when attached to a container itself:

> docker-compose exec container_name /bin/bash
> df -h
Filesystem      Size  Used Avail Use% Mounted on
# ...
/dev/sda1        29G  29G   0G   100% /etc/hosts

The following snippet worked to clear all images not in use without issue:

docker rmi $(docker images --filter "dangling=true" -q --no-trunc)

Note that --no-trunc is required, without it docker complains that the images don't actually exist.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!