0

I'm trying to build a docker image for a software using docker build -t cytools .

Here is the output that I'm confused about:

[+] Building 0.0s (1/2)                                                         
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 2B                                         0.0s
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount346931491/Dockerfile: no such file or directory

Does anyone know what this means? I am new to all this, so sorry if I didn't use the correct terminology or give the full picture!

3
  • Hello! Can you update your question with a few more details please? For example can you show the dockerfile you are using? Mar 26 at 16:39
  • From the command prompt, please perform an ls or dir in that same directory to show that Dockerfile exists, has a capital D and no extension.
    – BMitch
    Mar 26 at 21:24
  • Thank you, I think your comments resolved the issue! The dockerfile wasn't in the same directory.
    – gb62442
    Mar 27 at 19:32
1

Looks like the Dockerfile is not in the path, '.' means the current directory you are in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.