A docker image for MapD and pygdf and some usefull additional GPU based data science tools, like gpu version of XGBoost.
The Image is based on MapD-pygdf image, and inherits its run command.
docker pull aghorbani/goai
docker build --rm -t aghorbani/goai .
nvidia-docker run -it --rm \
-p 8888:8888 \
-p 9092:9092 \
aghorbani/goai [--load-data] [--jupyter-args=<arguments for jupyter>]
--load-data
: will lead to load the sample data into database.--jupyter-args
: specify arguments you want to pass tojupyter notebook
.
When all running fine, you can reach
- Jupyter notebook via http://localhost:8888 and
- MapD Immerse via http://localhost:9092
Many time it is desirable to have data directories to be on the host volume. With the following command you can mount host directories for database data and jupyter notebook.
nvidia-docker run -it --rm \
-p 8888:8888 \
-p 9092:9092 \
-v /PATH/TO/LOCAL/NB-DIR/:/home/appuser/notebooks/mein/ \
-v /PATH/TO/LOCAL/DATA-DIR/:/opt/mapd/data/ \
aghorbani/goai [--load-data] [--jupyter-args=<arguments for jupyter>]