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

AUTOSAR CountdownAdvent Calendar 2022

Day 4

docker(10) error 三度目の正直

Last updated at Posted at 2019-05-14
Last login: Wed May 15 05:00:36 on console

$ docker images
Error response from daemon: Bad response from Docker engine

$ docker imagees
docker: 'imagees' is not a docker command.
See 'docker --help'

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
kaizenjapan/cc4     latest              7c687e87cb9f        9 days ago          1.84GB
kaizenjapan/cc3     latest              b23d85aaee01        9 days ago          1.84GB
<none>              <none>              a50dc31ad23f        9 days ago          1.84GB
kaizenjapan/cc3     <none>              156eb2d61390        10 days ago         1.8GB
kaizenjapan/cc2     latest              3c56251edcf3        10 days ago         1.5GB
kaizenjapan/cc      latest              a90480303225        10 days ago         1.22GB
ubuntu              latest              d131e0fa2585        2 weeks ago  

$ docker rmi  7c687e87cb9f 
Untagged: kaizenjapan/cc4:latest
Deleted: sha256:7c687e87cb9f26c879a4a8baf4eef32e5ee21d1a948bae421b692ffae3072cbc
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi b23d85aaee01  
Untagged: kaizenjapan/cc3:latest
Deleted: sha256:b23d85aaee01d8311c634b46ee6d1b5a96e6ef3f90749da4d952c0e8f266ae56
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi   a50dc31ad23f
Deleted: sha256:a50dc31ad23fcb73105eac6bd30903517905025af7640f02f261589beb30759c
Deleted: sha256:90d6a24938f2c07d1eb734bd10a41266382166c5df45ebbbe4d0b912bb204749

$ docker rmi 156eb2d61390 
Error response from daemon: conflict: unable to delete 156eb2d61390 (must be forced) - image is being used by stopped container 2a8ee4ac0feb
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi 3c56251edcf3
Error response from daemon: conflict: unable to delete 3c56251edcf3 (must be forced) - image is being used by stopped container 31acc5c44966
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                        PORTS               NAMES
3d948fe7c3d7        ubuntu              "/bin/bash"         3 days ago          Exited (0) 40 hours ago                           distracted_beaver
eb2ae519cea9        ubuntu              "/bin/bash"         9 days ago          Exited (100) 24 minutes ago                       vigorous_goodall
31acc5c44966        kaizenjapan/cc2     "/bin/bash"         10 days ago         Exited (0) 24 minutes ago                         modest_jackson
116b8e9f6e46        kaizenjapan/cc2     "/bin/bash"         10 days ago         Exited (0) 10 days ago                            priceless_swartz
b6aa779b54ab        kaizenjapan/cc2     "/bin/bash"         10 days ago         Exited (0) 10 days ago                            xenodochial_shannon
9ff68f6fc7b9        kaizenjapan/cc      "/bin/bash"         10 days ago         Exited (0) 10 days ago                            loving_noyce
2a8ee4ac0feb        156eb2d61390        "/bin/bash"         10 days ago         Exited (0) 10 days ago                            naughty_curie
$ docker rm 3d948fe7c3d7 
3d948fe7c3d7
$ docker rm eb2ae519cea9 
eb2ae519cea9
$ docker rm 31acc5c44966 
31acc5c44966
$ docker rm 116b8e9f6e46 
116b8e9f6e46
$ docker rm b6aa779b54ab 
b6aa779b54ab
$ docker rm 9ff68f6fc7b9 
9ff68f6fc7b9
$ docker rm 2a8ee4ac0feb  
2a8ee4ac0feb
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
kaizenjapan/cc3     <none>              156eb2d61390        10 days ago         1.8GB
kaizenjapan/cc2     latest              3c56251edcf3        10 days ago         1.5GB
kaizenjapan/cc      latest              a90480303225        10 days ago         1.22GB
ubuntu              latest              d131e0fa2585        2 weeks ago         102MB

$ docker rmi   d131e0fa2585
Untagged: ubuntu:latest
Untagged: ubuntu@sha256:d26d529daa4d8567167181d9d569f2a85da3c5ecaf539cace2c6223355d69981
Deleted: sha256:d131e0fa2585a7efbfb187f70d648aa50e251d9d3b7031edf4730ca6154e221e
Deleted: sha256:c59a62c2bba8db73ca8b8847baa7fa77e4d573f38e57d69592a9716f9fa075c4
Deleted: sha256:a4eb6208f601c2f32e043972b9fa8e813767aef2e60676e91796cabf8a0afdc4
Deleted: sha256:a14c708b62677e8acfb75ac873147e71dd26aa7bf75a8b63b3408e0826b174dc
Deleted: sha256:604cbde1a4c8fee1b102f8b64d4f41e62d770b5f8a6b06fb809cfd873a2643c3

$ docker rmi  a90480303225
Untagged: kaizenjapan/cc:latest
Untagged: kaizenjapan/cc@sha256:3d355b1ff36a163347e11717d7852e6fe352b746c85fb9ffee072e3b072a7e2a
Deleted: sha256:a90480303225d3f142629ddd7b455ddf7c6476891b64558b34a6a1290dfa5ec0
Deleted: sha256:36140b71eeea321bbe25a30f132ecb102ba350babfae6134b3d104c33ba64a74

$ docker rmi  3c56251edcf3 
Untagged: kaizenjapan/cc2:latest
Untagged: kaizenjapan/cc2@sha256:727a003f21e2fd2c1a58fba768c14e7efa081c20187e9be3ce07baa425496c9d
Deleted: sha256:3c56251edcf3deae6a149cf34392a96ec478c1d5c2d089ad4fa50ea756ac65bc
Deleted: sha256:54de2371d4253dfff3b3eb2ecfb5ab115884248b66e62f8667c7fcc6f28ed52e

$ docker rmi 156eb2d61390 
Untagged: kaizenjapan/cc3@sha256:acbf6c21c9c52ad15aefd8210128f736b021f76c09aee3ac82c3352e209d14b2
Deleted: sha256:156eb2d613901e433e0f93f8981dbd2042dee8d2a1fe7c01d7b6af950a8d7dd1
Deleted: sha256:2331bad2f22da4ae7dc7494fa16d66abb642ade9674c25d5995913f5fabd508b
Deleted: sha256:91275a663eab3efc36aeeb1a4c11c8e5ea540c4afe1cc36a49c29ae80cbc6176
Deleted: sha256:e8fd0a3292093fcab884558f5edbd5656c883f9a635537eec75fa684b10af60a
Deleted: sha256:238d0544066a6f07a184a68de1c797f079d892c7c6eede70174598e76966b3a7
Deleted: sha256:4003a4c823047d89f09c6a0bf5959188211fc70b110a8d4d9a04730c169d3550
Deleted: sha256:09798890afdc89e906b235b5eb538dd1c03e3a86ce799371ce5d2f7fb6a34951
Deleted: sha256:cfac9ecfbc0042ad5d839aff41adba39d65684c7e15af9f66d237dc03d1fd60b
Deleted: sha256:f352c02ab6c1704fd1cac057d122c71ab8d059dcbf433068ad7c88c6d7771a43
Deleted: sha256:b9c3b217e735278337071985f35849d0864facfcc5d01884910980b895e03f77
Deleted: sha256:fbb641a8b94349e89886f65d79928e4673530e2a2b4d33c2c95e0426713f78e4 

一番最初のエラーはまだ、OSは起動したけどdockerアプリが起動していなかった模様

二番目のエラーは意味不明。

三度目の正直。動いた。

一番目、二番目のエラーの後、何もせずに数秒で同じ命令(command)を入力している。

なんでだろう。

参考資料(reference)

docker(9) rmiのための順番
https://qiita.com/kaizen_nagoya/items/0bc05d08cf18af4a8801

docker (7)今日の error
https://qiita.com/kaizen_nagoya/items/940189904f57e1d0b249

docker(8) 今日の error:解決
https://qiita.com/kaizen_nagoya/items/90d1443c11bebd564aa1

文書履歴(document history)

ver. 0.01 初稿 20190514
ver. 0.02 三度目追記 20190515 早朝
ver. 0.03 参考資料 20190515 朝

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

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

Thank you very much for reading to the last sentence.

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

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