Created
March 12, 2025 14:23
-
-
Save alexandreelise/d2d2fd4892f35d052fbaa2a50c4ee316 to your computer and use it in GitHub Desktop.
How to create a diff of Docker images on Unix Systems (It might work for Windows too)
This file contains hidden or 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
#!/bin/bash | |
set -eux | |
diff -u <(docker image history yourrepo/yourimage1:yourtag) <(docker image history yourrepo/yourimage2:yourtag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment