Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Created February 6, 2016 23:59
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 leandromoreira/ad16f7f14fea5d853033 to your computer and use it in GitHub Desktop.
Save leandromoreira/ad16f7f14fea5d853033 to your computer and use it in GitHub Desktop.
# we'll create a "machine" called dev on virtualbox
docker-machine create --driver virtualbox dev
# let's use this machine
eval "$(docker-machine env dev)"
# let's take note of our docker-ip
docker-machine ip dev
# let's run this app
docker-compose up
# now go to your browser and type ip :) it should show something
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment