title: Not enough space during build
body: <p>I am currently trying to create docker image with python files and lot of extra packages in requirement.txt.</p>
  
  <p>While I am running the command "sudo docker build -t XXX ." the packages are downloaded and than installed one by one untill I receive an error:
  "Could not install packages due to an EnvironmentError: [Errno 28] No space left on device"</p>
  
  <p>I have already did the atomic option of "sudo docker system prune" and all the past docker images are deleted.</p>
  
  <p>Moreover, "sudo docker info" shows that I have 15 GB allocated to docker and while my unsuccesfull docker image size is 1 GB size it is still well below the total memory.</p>
  
  <p>None of the options mentioned here: <a href="https://unix.stackexchange.com/questions/203168/docker-says-no-space-left-on-device-but-system-has-plenty-of-space">https://unix.stackexchange.com/questions/203168/docker-says-no-space-left-on-device-but-system-has-plenty-of-space</a>
  or here: <a href="https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device">Docker error : no space left on device</a>
  worked. I can create several "failed" dockers of ~1GB with the total size of more than 20GB so it is not an issue of lack of space on my HDD of VM.
  So I would be grateful for some more ideas.</p>