Docker unable to prepare context unable to evaluate symlinks in Dockerfile path GetFileAttributesEx

0 votes

I got the following error while trying to build an image using a dockerfile.

$ docker build -t docker-whale . unable to prepare context: unable to evaluate symlinks in Dockerfile path: GetFileAttributesEx C:\Users\Villanueva\Test\testdocker\Dockerfile: The system cannot find the file specified.
Aug 2, 2018 in Docker by Hannah
• 18,570 points
28,432 views

2 answers to this question.

0 votes

Just Remove the extension .txt from Dockerfile and run the command

docker build -t image-name 

It will work for sure.

answered Aug 2, 2018 by Kalgi
• 52,360 points
it`s working
0 votes
Very cliche, but check if the Dockerfile is present in the current working directory.
answered Apr 23, 2019 by Umer
Haha! I cannot believe that was the issue. Thanks! It's funny how such tiny things make such big issues. I was stuck with it for days

Related Questions In Docker

0 votes
1 answer

Unable to switch filesystem to overlay in Docker in Ubuntu.

From the official docs: https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/#configure-docker-with-the-overlayoverlay2-storage-driver To configure Docker ...READ MORE

answered Jul 18, 2018 in Docker by ajs3033
• 7,300 points
2,509 views
0 votes
1 answer
0 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,469 views
0 votes
1 answer

Docker unable to connect AWS EC2 cloud

Your command is not pointing to your ...READ MORE

answered Jul 16, 2018 in Docker by Kalgi
• 52,360 points
1,320 views
0 votes
1 answer

How to list containers in Docker

To show only running containers use the given command: docker ...READ MORE

answered Jul 20, 2018 in Docker by Kalgi
• 52,360 points
487 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP