Created
July 19, 2015 03:53
-
-
Save weslley39/3e72ddbfebbe4bade893 to your computer and use it in GitHub Desktop.
Setting basic ip to boot2docker
This file contains hidden or 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
docker-ip() { | |
boot2docker ip 2> /dev/null | |
} | |
echo $(docker-ip) docker | sudo tee -a /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment