title: Docker - no such file or directory
body: <p>I'm receiving an error from docker when I run my docker file. It's saying the  /var/lib/docker/aufs/layers/xxxx: no such file or directory when I run Docker build . </p>
  
  <p>I have tried numerous ways to remove containers and images so I'm pretty much stock on this one. </p>
  
  <p>Any </p>
  
  <p>The Docker file is:</p>
  
  <pre><code>FROM node:6
  
  RUN git clone https://github.com/preboot/angular2-webpack.git
  
  WORKDIR angular2-webpack
  
  RUN sed -i.bak 's/--port 8080/--host 0.0.0.0 --port 8080/'
  package.json RUN npm i
  
  CMD [ "npm", "run", "start" ]
  </code></pre>
  
  <p>The complete console output is:</p>
  
  <pre><code>Sending build context to Docker daemon
  9.728 kB
  Step 1 : FROM node:6
  6: Pulling from library/node
  6a5a5368e0c2: Already exists
  7b9457ec39de: Already exists
  ff18e19c2db4: Already exists
  6a3d69edbe90: Already exists
  0ce4b037e17f: Already exists
  82252a100d5a: Already exists
  Digest:
  sha256:db245bde5445eb122d8dc090ba98539a9ef7f56c0ea981ade643695af0d8eaf0
  Status: Downloaded newer image for node:6
  ---&gt; 9873603dc506 Step 2 :
  RUN git clone https://github.com/preboot/angular2-webpack.git open
  /var/lib/docker/aufs/layers/9319fd93cb6d6718243ff2e65ce5d2aa6122a1bb9211aa9f8e88d85c298727e5:
  no such file or directory User:docker-test 
  </code></pre>
  
  <blockquote>
    <p>Edit</p>
  </blockquote>
  
  <p>The issue was resolved thanks to @BMitchs' recommendation:</p>
  
  <ol>
  <li>rm -rf /var/lib/docker/*</li>
  <li>Uninstall Docker completely</li>
  <li>re install docker </li>
  </ol>