Skip to content

Instantly share code, notes, and snippets.

@frosforever
Created February 6, 2017 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frosforever/db39283d8beecfb101cd84ca35fef2ca to your computer and use it in GitHub Desktop.
Save frosforever/db39283d8beecfb101cd84ca35fef2ca to your computer and use it in GitHub Desktop.
docker for mac access host (not docker xhve host) from docker container
Alias for loopback that container can see:
`sudo ifconfig lo0 alias 10.0.2.2`
container can now access stuff running on host at `10.0.2.2`!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment