Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get the docker host IP from a container
# Source http://stackoverflow.com/questions/22944631/how-to-get-the-ip-address-of-the-docker-host-from-inside-a-docker-container
/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
You can’t perform that action at this time.