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

Bug: Couldn't process Docker on Windows #67

Open
cebreus opened this issue Jan 24, 2021 · 1 comment
Open

Bug: Couldn't process Docker on Windows #67

cebreus opened this issue Jan 24, 2021 · 1 comment

Comments

@cebreus
Copy link

cebreus commented Jan 24, 2021

Expected Behavior

Installation doesn't end with an error, and the filiph/linkcheck could be executed.

Actual Behavior

Instalation docker build -t filiph/linkcheck . falls:

#1 [internal] load build definition from Dockerfile
#1 sha256:250bdb75e69446fa4cc66d19de6b2c2e1e1d56028719c8719be5ba4473780b3b
#1 transferring dockerfile: 2B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:f42f4b6001b85d056ce810a191359e178133fc940326f0b50498b4041d1db136
#2 transferring context:
#2 CANCELED
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount636110485/Dockerfile: no such file or directory

Steps to Reproduce

  1. check if Docker is running
  2. execute in CLI docker build -t filiph/linkcheck .

Context (Environment)

  • Version: 2.0.15+1
  • Platform: Windows 10; Git Bash; Docker version 20.10.2, build 2291f61
@ZacNespral21
Copy link

ZacNespral21 commented Apr 4, 2021

You're missing the repository files and/or the Dockerfile. Its important you have the entire repository or Dockerfile and run the build command in the same folder. There are two ways to fix this issue:

  1. Clone the repo into its own directory then run the build command: docker build -t filiph/linkcheck .
  2. Re-produce the Dockerfile currently in the repository (located here) in its own directory then run the build command docker build -t filiph/linkcheck .

After the image builds successfully you can then use the run command, for example: docker run filiph/linkcheck www.google.com

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