Check dependent docker image
for i in $(docker images -q)
do
docker history $i | grep -q <image id> && echo $i
done | sort -u
ref from: https://stackoverflow.com/questions/36584122/how-to-get-the-list-of-dependent-child-images-in-docker
for i in $(docker images -q)
do
docker history $i | grep -q <image id> && echo $i
done | sort -u
ref from: https://stackoverflow.com/questions/36584122/how-to-get-the-list-of-dependent-child-images-in-docker