Created
March 9, 2022 01:20
-
-
Save motowilliams/ab6687513df7d1e872ddecb852b6274a to your computer and use it in GitHub Desktop.
Dump Docker Layers Hashes to File
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
docker image inspect IMAGE_NAME | jq .[0].RootFS.Layers | awk '{print " # "$$0}' | tee -a IMAGE_NAME.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment