1
0

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.

【Docker】[failed to load cache key: invalid empty config file resolved] を解決した方法 (備忘録)

Last updated at Posted at 2021-09-30

結論

ビルド前に予め

$ docker pull docker/whalesay

のコマンドを実行して、イメージを pull しておく。
  
※ 上記コマンド実行時に
Error: remote trust data does not exist for docker.io/docker/whalesay
というエラーが出た際には、
こちらの dockerでWhalesayイメージがpull(run)できない時の対処法 を参照してください。

エラーが出た場面

Udemy の
ゼロからはじめる Dockerによるアプリケーション実行環境構築 にて、
イメージビルドができない場面に出くわした際の解決方法です。
[34. Dockerfileを使用したイメージビルドの実行] ← ココです。

参考にした情報

1
0
0

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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?