macOS
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
kaizenjapan/posix latest 92704b903284 5 days ago 1.21GB
kaizenjapan/posix <none> 31f8628acfa5 9 days ago 1.14GB
<none> <none> ba51ef841ad4 9 days ago 1.14GB
<none> <none> cf4f794b66af 9 days ago 1.14GB
<none> <none> 150b4e135e37 9 days ago 1.14GB
kaizenjapan/http3a latest 863371d53d45 5 weeks ago 98.1MB
kaizenjapan/http3 <none> 863371d53d45 5 weeks ago 98.1MB
debian buster-slim 83a10817c894 8 weeks ago 69.2MB
gcc latest e05f48a4f898 2 months ago 1.14GB
$ docker rmi e05f48a4f898
Error response from daemon: conflict: unable to delete e05f48a4f898 (cannot be forced) - image has dependent child images
$ docker rmi 83a10817c894
Error response from daemon: conflict: unable to delete 83a10817c894 (cannot be forced) - image has dependent child images
$ docker rmi 863371d53d45
Error response from daemon: conflict: unable to delete 863371d53d45 (must be forced) - image is referenced in multiple repositories
$ docker rmi 92704b903284
Untagged: kaizenjapan/posix:latest
Untagged: kaizenjapan/posix@sha256:6b362f631a7038b6da0a4242e04ac32c92fb713bbd966fbeca144e49c8b167ad
Deleted: sha256:92704b903284d69979d0fec6701b5c390fd9b75d03d513a4c491424507267c8d
Deleted: sha256:e01a3729eb19abd4da8599b07dff2c0f9263581a553826695dbc45ac1c554b59
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi 31f8628acfa5
Untagged: kaizenjapan/posix@sha256:6b12b5c5d2437ef605c9ea34216d66acf7eba40f40eb32272fd32ce2c7d60691
Deleted: sha256:31f8628acfa5505fc4b34523faa2d46971d02d36aa1dc1257170dbabaea42d5f
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi ba51ef841ad4
Deleted: sha256:ba51ef841ad4090f2320d77bb2f32552125f012072f1fb3711a684c685c506ea
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi ba51ef841ad4
Error: No such image: ba51ef841ad4
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi cf4f794b66af
Deleted: sha256:cf4f794b66afd8a66680b054f0fe8e7a875c57992605856456094cfed03a993b
OgawaKiyoshi-no-MacBook-Pro:~ ogawakiyoshi$ docker rmi 150b4e135e37
Deleted: sha256:150b4e135e37ffec6d92901c95d54b2e886a11a6377fe68ca199c3b35b4af7a3
Deleted: sha256:8f03b5934c2f6e5880e88c3ad5a962e98e6af6d01073334e49b084e28606cca4
$ docker rmi 863371d53d45
Error response from daemon: conflict: unable to delete 863371d53d45 (must be forced) - image is referenced in multiple repositories
$ docker rmi e05f48a4f898
Untagged: gcc:latest
Untagged: gcc@sha256:6f3e7275fe080452f803d3e098c25b81b02280772763ce5d6caf1839de56ce48
Deleted: sha256:e05f48a4f898f1eb27f87798a1b3bd47578661f113f33dd733aa98f6df5075d8
Deleted: sha256:e92d2739d5548136ae3f7b70b3a1d4778a17c2941df06707b19440f65c9256f1
Deleted: sha256:7b3b85237b1de6eca93eb18c9d0f9d661e21b83bafc1cb7d6ef75a83449b4dc5
Deleted: sha256:e24f589452ea28b961b03bfd7fa2fdf09b40e57d08a1a3e1925053377643cd68
Deleted: sha256:e51fbb0c0f3685371a329fa7a4a3ec9ea16327a6b19c5f09c5d0d7572614837b
Deleted: sha256:3b79fdb83363264fe2f7f15b60eb2827bc596dcf158db082e57fff9826b79286
Deleted: sha256:c276a5e4b27d7191524316996c6e3f23c39deaa98298f6b53932b1f82473a504
Deleted: sha256:ad3394649b80e8c0b815ec1507798848130668dffa14bdafbca6a5f1ddc57efc
Deleted: sha256:20c6749dbdf9de226135ebc6244235e7834781caa5472368b05bb8e0c4182bea
Deleted: sha256:31b0e148310d3953be8ba9ff530a91424f01688ee604f99cbfb519dab9e8c66d
$ docker rmi 863371d53d45
Error response from daemon: conflict: unable to delete 863371d53d45 (must be forced) - image is referenced in multiple repositories
文書履歴(document history)
ver. 0.01 初稿
ver. 0.02 追記 20191229
最後までおよみいただきありがとうございました。
いいね 💚、フォローをお願いします。
Thank you very much for reading to the last sentence.
Please press the like icon 💚 and follow me for your happy life.