Answers: <p>Looks like the Dockerfile is not in the path, '.' means the current directory you are in.</p>
  
Answers: CC BY-SA 4.0
Answers: 2021-03-27T10:51:11.690Z
Answers: 2021-03-27T10:51:11.690Z
Answers: Avi
Body: <p>I'm trying to build a docker image for a software using <code>docker build -t cytools .</code></p>
  <p>Here is the output that I'm confused about:</p>
  <pre><code>[+] Building 0.0s (1/2)                                                         
   =&gt; [internal] load build definition from Dockerfile                       0.0s
   =&gt; =&gt; 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
  </code></pre>
  <p>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!</p>
  
Comments: CC BY-SA 4.0
Comments: 2021-03-26T16:39:28.590Z
Comments: Hello! Can you update your question with a few more details please? For example can you show the dockerfile you are using?
Comments: Bruce Becker
Comments: CC BY-SA 4.0
Comments: 2021-03-26T21:24:32.843Z
Comments: 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.
Comments: BMitch
Comments: CC BY-SA 4.0
Comments: 2021-03-27T19:32:09.060Z
Comments: Thank you, I think your comments resolved the issue! The dockerfile wasn't in the same directory.
Comments: mp62442
Tags: <docker><dockerfile>
Title: Having trouble with building Docker image
UserDisplayName: mp62442
ThreadText: # Having trouble with building Docker image
  
  (Asked by: username_0 on 2021-03-26)
  
  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!
  
  **Tags:** docker, dockerfile
  
  > **Comments:**
  > **username_1**: Hello! Can you update your question with a few more details please? For example can you show the dockerfile you are using?  
  > **username_2**: 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.  
  > **username_0**: Thank you, I think your comments resolved the issue! The dockerfile wasn't in the same directory.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2021-03-27. Score: 2 | Accepted answer
  
  Looks like the Dockerfile is not in the path, '.' means the current directory you are in.
  
  
  ---
  
  