Error while building the docker image lstat /tmp/Dockerfile: no such file or directory

I’m trying to build a docker image. When I issue the build command I got the following error.

[code language=”shell”]

$ docker build -t messenger .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /tmp/Dockerfile: no such file or directory

[/code]

I was executing the command from /tmp instead of /tmp/messenger, where the Dockerfile is located. When I executed from /tmp/messenger, it worked.

சாந்தி நிலவ வேண்டும். உலகிலே சாந்தி நிலவ வேண்டும் -  I captured this serene Buddha statue at Temple of tooth, Kandy during 2019 summerat temple of t
சாந்தி நிலவ வேண்டும். உலகிலே சாந்தி நிலவ வேண்டும் – I captured this serene Buddha statue at Temple of tooth, Kandy during 2019 summerat temple of t

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top