Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error checking context is accessible: 'can't stat '.gvfs''. Please check permissions and try again

Tags:

docker

I created a Dockerfile in my root.

FROM ubuntu:12.04

MAINTAINER Bhim Singh <[email protected]>

RUN apt-get y install java

CMD echo hello

then i tried to run this command : sudo docker build -t bhim3003/myjava .

I am recieving this error:

" Error checking context is accessible: 'can't stat '.gvfs''. Please check permissions and try again."

And docker image is not created. Any suggestions?

like image 209
Bhim singh dangi Avatar asked Aug 21 '14 08:08

Bhim singh dangi


1 Answers

I faced the same issue while working with boot2docker on Windows 7. However I was able to build it successfully after moving dockerfile outside home directory.

like image 188
suhas_sm Avatar answered Sep 29 '22 02:09

suhas_sm