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

CC BY-SA 4.0
2021-03-27T10:51:11.690Z
2021-03-27T10:51:11.690Z
Avi
<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>

CC BY-SA 4.0
2021-03-26T16:39:28.590Z
Hello! Can you update your question with a few more details please? For example can you show the dockerfile you are using?
Bruce Becker
CC BY-SA 4.0
2021-03-26T21:24:32.843Z
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
CC BY-SA 4.0
2021-03-27T19:32:09.060Z
Thank you, I think your comments resolved the issue! The dockerfile wasn't in the same directory.
mp62442
<docker><dockerfile>
Having trouble with building Docker image
mp62442
# 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.


---

