title: Why does docker issue a "forbidden path" error?
body: <p>I'm trying to work my way through a Docker tutorial using boot2docker on OS X 10.8.4. But I keep getting a "forbidden path" error when running <code>docker build .</code> from within the app directory.</p>
  
  <p>Here is my docker client.:</p>
  
  <pre><code>$ docker -v
  Docker version 0.8.0, build cc3a8c8
  </code></pre>
  
  <p>Here is my app directory:</p>
  
  <pre><code>$ tree
  .
  ├── Dockerfile
  ├── index.html
  ├── index.js
  └── package.json
  </code></pre>
  
  <p>But, when I run docker build I get this output.</p>
  
  <pre><code>$ docker build .
  Uploading context 6.144 kB
  Uploading context
  Step 0 : FROM dockerfile/nodejs
   ---&gt; ec3f14b7134c
  Step 1 : ADD . /src
  2014/02/07 09:58:27 build: Forbidden path outside the build context: . (/mnt/sda1/tmp/docker-build854689076)
  </code></pre>
  
  <p>Notice that I'm trying to add a relative path: <code>ADD . /src</code>.
  This seems pretty straightforward, and I've seen this kind of <code>ADD</code> statement in a few examples, so I must be missing something obvious.</p>