title: docker Error processing tar file(exit status 1): no space left on device
body: <p>I'm continuously getting this the following error when try to build a docker image: </p>
  
  <pre><code>Step 6/8 : COPY . /app
  Error processing tar file(exit status 1): write /app/.git/objects/81/4f44ad8c3bef33a0bb0729bee8f251a327d9a8: no space left on device 
  </code></pre>
  
  <p>this is sort of fixed if I use: </p>
  
  <pre><code>docker system prune
  </code></pre>
  
  <p>I'm delete the previous image using: </p>
  
  <pre><code>docker rmi &lt;my_image&gt; 
  </code></pre>
  
  <p>The problem is that this makes the whole testing very tedious, since I have to create the images from scratch after each change. </p>
  
  <pre><code>REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE
  my_image   latest              12b2499ac23d        52 minutes ago      6.67GB
  </code></pre>
  
  <p>That is the image I have to delete and create each time. I still have space left on the machine so really not finding what is the issue here:</p>
  
  <p><a href="https://i.stack.imgur.com/IBQCj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IBQCj.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/KEDIB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KEDIB.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>from df -ih</p>
  
  <p><a href="https://i.stack.imgur.com/uBaCk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uBaCk.png" alt="enter image description here"></a></p>