Skip to content

Instantly share code, notes, and snippets.

@jrdmcgr
Created February 7, 2014 14:59
Show Gist options
  • Save jrdmcgr/8864236 to your computer and use it in GitHub Desktop.
Save jrdmcgr/8864236 to your computer and use it in GitHub Desktop.
Why won't docker build?
$ tree
.
├── Dockerfile
├── index.html
├── index.js
└── package.json
$ docker build .
Uploading context 6.144 kB
Uploading context
Step 0 : FROM dockerfile/nodejs
---> ec3f14b7134c
Step 1 : ADD . /src
2014/02/07 09:58:27 build: Forbidden path outside the build context: . (/mnt/sda1/tmp/docker-build854689076)
@cogell
Copy link

cogell commented Feb 7, 2014

I have exactly the same problem. I wonder if it has to do with the hypervisor magic going on with my OS X install of docker. Best of luck - let me know if you figure things out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment