Skip to content

Instantly share code, notes, and snippets.

@smijar
Last active May 25, 2017 18:40
Show Gist options
  • Save smijar/de4e6f6053975f885c18eb1b8d803b21 to your computer and use it in GitHub Desktop.
Save smijar/de4e6f6053975f885c18eb1b8d803b21 to your computer and use it in GitHub Desktop.
get gateway ip of docker bridge
export INTERNAL_DOCKER_HOST="tcp://$(docker run --rm busybox ip route show | grep ^default | cut -f3 -d ' '):2375"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment