We have a docker hosted in Ubuntu 4.4.0-93-generic.
When I tried to create a container I got this error:

INTERNAL ERROR: Cannot create temporary directory!

After some research, I found it was due to the disk space (or lack thereof)

I used df to show the disk space. I am not able to understand the below information,

Filesystem                        Size  Used Avail Use% Mounted on     
udev                              504G     0  504G   0% /dev           
tmpfs                             101G   42M  101G   1% /run           
/dev/mapper/dev--ubuntu--vg-root   27G   27G     0 100% /              
tmpfs                             504G  428K  504G   1% /dev/shm       
tmpfs                             5.0M     0  5.0M   0% /run/lock      
tmpfs                             504G     0  504G   0% /sys/fs/cgroup 
/dev/sda1                         472M  106M  342M  24% /boot          
/dev/mapper/dev--ubuntu--vg-home   51G  281M   48G   1% /home          
none                               27G   27G     0 100% /var/lib/docker
shm                                64M     0   64M   0% /var/lib/docker
none                               27G   27G     0 100% /var/lib/docker
shm                                64M     0   64M   0% /var/lib/docker
tmpfs                             101G     0  101G   0% /run/user/1000  

Could anyone please explain what this is and am I running out of space?

  • Could you copy/paste the output of df instead of taking a screenshot? – SIGSTACKFAULT Oct 19 '17 at 15:11
  • 1
    Basically var directory is part of your root file system and this is at 100%. Luckily, you are using logical volumes and so you can provision further disks if required and add the space to the volume. – Raman Sailopal Oct 19 '17 at 15:16
  • On second thought, do df -h – SIGSTACKFAULT Oct 19 '17 at 15:20
  • Do you have any link where I could learn more details on this ? – Raajkumar Oct 19 '17 at 15:21
  • Try this, this or this – SIGSTACKFAULT Oct 19 '17 at 15:23

Long story short, this means that your root filesystem is totally full.

  • There's a green checkmark beside the up/down arrows; click it to set this answer as accepted. Ty <3 – SIGSTACKFAULT Oct 19 '17 at 15:20

It means that your root storage is full, check by df -h.

This method might help you up with removing stale docker images by command below:

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

Or using:

docker image prune

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.