title: How can I solve "unable to prepare context: path "." not found" docker build's error?
body: <p>I am trying to build Docker image from my Dockerfile. I have Docker-CE 18.06 installed on CentOS 7 guest OS, running on VMWare Player 14. The project directory is inside shared folder mounted via VMWare's vmhgfs-fuse tool. My host OS is Windows 10 Home. As of now, I don't use docker-compose for this project yet.</p>
  
  <blockquote>
    <p>[superdurszlak@localhost candidate-match]$ sudo docker build -t candidate-match . </p>
    
    <p>unable to prepare context: path "." not found</p>
    
    <p>[superdurszlak@localhost candidate-match]$ sudo docker build -t candidate-match --file ./Dockerfile .</p>
    
    <p>unable to prepare context: path "." not found </p>
  </blockquote>
  
  <p>I have double-checked if my Dockerfile is named correctly, if my docker daemon is up and running, if my working directory is correct and if shared folder's contents are accessible from inside guest OS without issues.</p>
  
  <p>What are possible causes of such an error?</p>