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

Code not working on line 1 #2

Open
mnhque opened this issue Mar 21, 2019 · 1 comment
Open

Code not working on line 1 #2

mnhque opened this issue Mar 21, 2019 · 1 comment

Comments

@mnhque
Copy link

mnhque commented Mar 21, 2019

[root@m cron]# sudo docker build --rm -t docker-cron .
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /usr/cron/Dockerfile: no such file or directory

Please help

@boujois
Copy link

boujois commented Mar 24, 2019

@mnhque make sure you cd into the directory created by cloning the repository, i.e:

git clone https://github.com/cheyer/docker-cron.git
cd docker-cron
docker build --rm -t docker-cron .

to check if you are in the right directory, use ls and make sure you can see the Dockerfile listed.

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

2 participants