Created
February 6, 2017 15:05
-
-
Save frosforever/db39283d8beecfb101cd84ca35fef2ca to your computer and use it in GitHub Desktop.
docker for mac access host (not docker xhve host) from 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
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