Created
July 8, 2016 17:51
-
-
Save dmouse/0c685cf3b7de04012d8cfdad7b25202a to your computer and use it in GitHub Desktop.
docker-ip show the IP address and container name
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
function docker-ip | |
docker inspect --format '{{ .Name }} {{ .NetworkSettings.IPAddress }}' $argv; | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment