This docker build creates an image that contains all programs and libraries required to run the basic EM analysis described in the Enrichment Map Protocol.
-
In order to run this docker image you need Docker and VMWare or Virtual box installed.
-
For Mac osx follow the instruction from docker
-
For windows follow the instructions from docker
-
Create a Docker machine:
$ docker-machine create --driver vmwarefusion
-
Build Enrichment Map Tutorial Docker.Run the below command from the directory that contains your Dockerfile. This should take several minutes:
$ docker build -t emtutorial/emtutorial .
-
To run the above docker image you need modify the below to contain the ip of the computer you are working on. Change 192.168.0.10 to your IP.
$ docker run --rm -it -p 8888:8888 --add-host="localhost:192.168.0.10" -v "$(pwd)/notebooks:/home/jovyan/work" emtutorial/emtutorial
-
Get IP of docker image
$ docker-machine ip
-
You can now access the Enrichment Map Tutorial Docker from you browser: http://ip-of-docker-machine:8888