0
1

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 1 year has passed since last update.

docker(124) 今日のdocker error: failed to register layer(解決)

Last updated at Posted at 2021-06-26

python

bash
$ docker run -it kaizenjapan/100pon /bin/bash

docker: failed to register layer: Error processing tar file(exit status 1): open /home/100pon/100pon/chap10/dict_index_country: structure needs cleaning.
See 'docker run --help'.

ディスクが足りないらしい。

bash
$ docker images
REPOSITORY                              TAG                 IMAGE ID            CREATED             SIZE
kaizenjapan/dockertoppersfmprpi64_fmp   latest              d5982fc37705        About an hour ago   1.7GB
kaizenjapan/anaconda-keras              latest              eb089b9be815        2 hours ago         4.56GB
kaizenjapan/anaconda-deep-1             latest              c8d461de5f10        2 hours ago         5.37GB
kaizenjapan/jq                          latest              b6fe9d36363a        3 hours ago         412MB
kaizenjapan/fortran                     latest              b381b56bfffe        3 hours ago         588MB
kaizenjapan/autosar2                    latest              d9eb021e1a7f        3 hours ago         5.9GB
kaizenjapan/rstudio                     latest              1e11b10a83df        4 hours ago         2.92GB
kaizenjapan/pcc                         latest              1afa5c4228a6        5 hours ago         1.43GB
kaizenjapan/basic                       latest              fb431ef24979        5 hours ago         1.43GB
<none>                                  <none>              3ddbfeee9bd9        5 hours ago         1.43GB
kaizenjapan/basic                       <none>              f104b06410b0        7 weeks ago         1.35GB
kaizenjapan/pcc                         <none>              8f1dde84b801        7 weeks ago         1.35GB
kaizenjapan/rstudio                     <none>              13d1376ad1fe        2 months ago        2.83GB
kaizenjapan/autosar2                    <none>              3fc028692e91        2 months ago        5.88GB
kaizenjapan/fortran                     <none>              de9e490156b7        2 months ago        558MB
kaizenjapan/jq                          <none>              a18707960a31        2 years ago         233MB
kaizenjapan/anaconda-deep-1             <none>              2d26c8621bf9        2 years ago         5.06GB
kaizenjapan/anaconda-keras              <none>              71ea440b7196        2 years ago         4.29GB
kaizenjapan/dockertoppersfmprpi64_fmp   kaizenjapan         b329efb0b44b        3 years ago         1.24GB

$ docker rmi  d5982fc37705  -f
... 

途中で

bash
$ docker rmi 13d1376ad1fe  -f
Error response from daemon: conflict: unable to delete 13d1376ad1fe (cannot be forced) - image has dependent child images

$ docker rmi 8f1dde84b801   -f
Error: No such image: 8f1dde84b801

という警告が出た。
消す順番に依存するらしい。

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?