Skip to content

Instantly share code, notes, and snippets.

@leafnode
Created Jul 11, 2019
Embed
What would you like to do?
Analyse docker image filesystem #docker #dive
#!/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