Where is the fix? I just started with snappy and hit this problem. Here is my system:
$ snappy info release: ubuntu-core/15.04/stable architecture: amd64 frameworks: docker, webdm apps:
$ snappy list Name Date Version Developer ubuntu-core 2015-09-17 5 ubuntu docker 2015-09-17 1.6.2.003 canonical webdm 2015-09-17 0.9 canonical generic-amd64 2015-09-17 1.4 canonical
$ cd my-image $ docker build -t my-image . FATA[0000] Error checking context is accessible: 'can't stat '.''. Please check permissions and try again. $ cd ~/apps/docker $ docker build -t my-image . FATA[0000] Error checking context is accessible: 'no permission to read from 'Dockerfile''. Please check permissions and try again.
Where is the fix?
I just started with snappy and hit this problem. Here is my system:
$ snappy info core/15. 04/stable
release: ubuntu-
architecture: amd64
frameworks: docker, webdm
apps:
$ snappy list
Name Date Version Developer
ubuntu-core 2015-09-17 5 ubuntu
docker 2015-09-17 1.6.2.003 canonical
webdm 2015-09-17 0.9 canonical
generic-amd64 2015-09-17 1.4 canonical
$ cd my-image
$ docker build -t my-image .
FATA[0000] Error checking context is accessible: 'can't stat '.''. Please check permissions and try again.
$ cd ~/apps/docker
$ docker build -t my-image .
FATA[0000] Error checking context is accessible: 'no permission to read from 'Dockerfile''. Please check permissions and try again.