Last active
February 26, 2025 15:42
-
-
Save sharepointoscar/cf18444036b587fe3b6e2bed13756404 to your computer and use it in GitHub Desktop.
List Docker Container IP Address
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 ip | |
docker inspect -f '{{.Name}} - {{.NetworkSettings.IPAddress }}' $(docker ps -aq) | |
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
awesome!