Last active
November 30, 2015 19:03
-
-
Save dev-pmartins/2a802b65c8b0fb6aff54 to your computer and use it in GitHub Desktop.
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
docker-machine create -d virtualbox [VM_NAME] | |
docker-machine env [VM_NAME] | |
eval "$(docker-machine env [VM_NAME])" | |
#Check if docker variables running in OS | |
eval | |
#Access docker folder (The directory have a file named as docker-compose.yml) | |
#Run the container | |
docker-compose up -d | |
#Verify if container is running | |
docker-compose ps | |
#Add on /etc/hosts file the VM ADDRESS with BOB and ALICE URI | |
#Aka: Don't forgot the run .sql file to import tables and produtcs (DB: bob_kanui) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment