#author("2021-05-31T04:31:28+09:00","default:ryuichi","ryuichi")
* 依存してる子イメージを削除する [#f6289c50]

 for i in $(docker images -q)
 do
    docker history $i | grep -q f50f9524513f && echo $i
 done | sort -u


** 参考 [#o256eeab]

- https://stackoverflow.com/questions/36584122/how-to-get-the-list-of-dependent-child-images-in-docker
- https://pythonspeed.com/articles/docker-history/


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS