Last active
December 4, 2020 07:32
-
-
Save emmanuelnk/f198fd48226d868cae5be4a9de2bf38e to your computer and use it in GitHub Desktop.
Expose docker hostname
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='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment