Created
February 7, 2023 00:57
-
-
Save Aviksaikat/add15f8148e50290eb0f7087924ff280 to your computer and use it in GitHub Desktop.
get the ip address of a given docker container name of id
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 --format '{{ .NetworkSettings.IPAddress }}' $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment