dotfiles/conf.d/zim/modules/jl-helper/functions/dip

10 lines
193 B
Plaintext
Raw Normal View History

# vim:et sts=2 sw=2 ft=zsh
#
# Display ip of the docker container passed as arg
#
docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${1}
compdef _files dip