add support for image dependency diagram (docker images -viz)

pull/262/head
Uri Sharf 2014-01-27 11:01:20 +01:00
parent a1820316ff
commit 02a6bf9c85
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ lib/custom.bash
plugins/custom.plugins.bash
*.swp
.*.un~
/docker.png

View File

@ -8,6 +8,7 @@ alias dkpsa='docker ps -a'
alias dki='docker images'
alias dkrm='docker rm $(docker ps -a -q)' # delete all stopped containers
alias dkrmi='docker rmi $(docker images | grep "^<none>" | awk "{print $3}")'
alias dkideps='docker images -viz | dot -Tpng -o docker.png && xdg-open docker.png ' # with graphviz
# docker run [container] env
function dkre() {