Dockerfile for Machine Learning
- CentOS 7
- Python 2.7.12
- pip
- IPython
- jupyter
- matplotlib
- nltk
- NumPy
- pandas
- scikit-learn
- SciPy
- seaborn
- tensorflow
- virtualenv
- xlrd
Pull docker image from DockerHub
$ docker pull reetawwsum/machine-learning
To launch Jupyter Notebook:
$ docker run --rm -t -i --name ml -p 8888:8888 reetawwsum/machine-learning --ip=0.0.0.0
To launch Jupyter Notebook on current directory:
$ docker run --rm -t -i --name ml -p 8888:8888 -v $PWD:/usr/local/src/notebooks reetawwsum/machine-learning --ip=0.0.0.0
To run shell after launching Jupyter Notebook:
$ docker exec -t -i ml /bin/bash
To run Python REPL after launching Jupyter Notebook:
$ docker exec -t -i ml python2.7
Clone this repo and
$ git clone https://github.com/reetawwsum/Machine-Learning-Dockerfile.git
$ cd Machine-Learning-Dockerfile
to build image from Dockerfile:
$ docker build -t machine-learning .
to build python script present in current directory from Sublime Text 3:
$ cp Docker-Python.sublime-build [user-packages folder]