Last active
June 29, 2018 21:25
-
-
Save aaronbronow/9b9e676cfe735c1298a36b0e8289815a to your computer and use it in GitHub Desktop.
find linked docker parent and child images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(docker images -q) | |
do | |
docker history $i | grep -q $IMG && echo $i | |
done | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment