Created
March 6, 2017 22:23
-
-
Save joseluistorres/4065b00e8da3777c3fb7703aea0c3f0c to your computer and use it in GitHub Desktop.
Docker for Go and RethinkDB
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
# Running rethinkdb from docker | |
docker run --name whatever-chido-name -v "$PWD:/data" -d rethinkdb | |
# Build the docker image with the go app | |
docker build -t compa . | |
# This will start the previous container and will link | |
# the two containers to communicate from each other | |
docker run --name mi-compa-running -p 8000:8000 --link elated_bassi -d compa | |
docker network ls | |
docker newwork inspec CONTAINER-ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment