title: Docker add no such file or directory
body: <p>The following is my root-directory:</p>
  
  <pre><code>andrej:
    - docker/CodeExperiments.jar
    - docker2/Dockerfile
  </code></pre>
  
  <p>Here are the contents of my Dockerfile:</p>
  
  <pre><code>FROM java:8
  ADD docker/CodeExperiments.jar docker/
  RUN javac BirthDayTask.java
  </code></pre>
  
  <p>And this is the command I am running:</p>
  
  <pre><code>docker build -t newfile docker2
  </code></pre>
  
  <p>Which results in the following error message:</p>
  
  <blockquote>
    <p>ADD failed: stat /var/lib/docker/tmp/docker-builder946291442/docker/CodeExperiments.jar: no such file or directory</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>