Created
December 26, 2017 14:40
-
-
Save dcorrigan/f5b0b428b20a51d5d987481cdb42b83b to your computer and use it in GitHub Desktop.
get host IP from inside docker container
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
/sbin/ip route|awk '/default/ { print $3 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment