Created
July 11, 2019 10:52
-
-
Save leafnode/74991f93845fdbef36fda898d891c164 to your computer and use it in GitHub Desktop.
Analyse docker image filesystem #docker #dive
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
#!/bin/sh | |
# change tag! | |
docker run --rm -it \ | |
-v /usr/local/bin/docker:/bin/docker \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v "$(pwd)":"$(pwd)" \ | |
-w "$(pwd)" \ | |
-v "$HOME/.dive.yaml":"$HOME/.dive.yaml" \ | |
wagoodman/dive:latest build -t $tag . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment