21
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount****/Dockerfile: no such file or directory の対処法

Last updated at Posted at 2021-10-27

#はじめに
ものすごい初歩的な内容となっております。ただ、こんなことでつまづいて時間を使ってほしくはないために書きました。

#問題

docker build しようとしたらタイトルのエラーが発生しました。

failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount****/Dockerfile: no such file or directory

#原因

ビルドしようと試みた、現在のディレクトリにはDockerfile がないことが原因のようです。

#対処法

Dockerfile のあるディレクトリに移動してビルドすれば解決です。

21
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?