Created
March 10, 2018 15:30
-
-
Save humbertodias/b785d5cf299137c20e399fcdc53c15ce to your computer and use it in GitHub Desktop.
Docker showing ip of all containers
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
docker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment