Created
January 29, 2016 11:45
-
-
Save iwootten/eba76421afa519719db7 to your computer and use it in GitHub Desktop.
Use your docker-machine host ip as docker-compose environment variable
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
sed -e "s/DOCKER_HOST_IP/$(docker-machine ip your-machine-name)/g" docker-compose.yml | docker-compose --file - up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment