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.
[superdurszlak@localhost candidate-match]$ sudo docker build -t candidate-match .
unable to prepare context: path "." not found
[superdurszlak@localhost candidate-match]$ sudo docker build -t candidate-match --file ./Dockerfile .
unable to prepare context: path "." not found
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.
What are possible causes of such an error?