Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat ../docker/demos/gsd/Dockerfile: no such file or directory #6

Closed
edchelstephens opened this issue Apr 6, 2022 · 1 comment

Comments

@edchelstephens
Copy link

Hi @nigelpoulton ,

I'm following thru your
Getting Started with Docker

course from pluralsight last updated 27 Oct 2020

I get this error when I try to build the image.

Seems like the Dockerfile has been removed?

Please advice how to fix this.

Steps done:

  1. Forked this repo
  2. typed ls on the command line
  3. ls results:
    first-container multi-container README.md swarm-stack
  4. ran docker build command:
    sudo docker image build -t <my_dockerhub_id>/gsd:1 --no-cache .

Error encountered:

unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat <my_directory>/docker/demos/gsd/Dockerfile: no such file or directory

Environment

I'm running on Ubuntu 20.04.4 LTS

With docker version: Docker version 20.10.14, build a224086

Thanks!

@edchelstephens
Copy link
Author

Oh, this is fixed, the docker file was in the first-container folder. My bad :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant