Repository to store my progress in Machine Learning field
- Docker
- Web Browser (Firefox, Chrome, IE, etc...)
-
Docker container for Jupyter notebook
# Grab Docker image from Jupyter Docker repository
docker pull jupyter/all-spark-notebook
# Start container - Windows
docker run -d -P --name jupyter-notebook -v D:\data-science:/home/jovyan/work jupyter/all-spark-notebook
# Start container - Linux
docker run -d -P --name jupyter-notebook -v ~/data-science:/home/jovyan/work jupyter/all-spark-notebook
# Obtain the random host port assigned to the container
docker port jupyter-notebook 8888
# Obtain Jupyter notebook token
docker logs --tail 3 jupyter-notebook
- Access Jupyter notebook
Open web browser
Go to "http://localhost:<random host port>/?token=<token>"
Example: http://127.0.0.1:32773/?token=19625e70bd3f90a2bcd9519620a55ea3703bdede0a48d277
- Destroy container
# Stop container
docker stop jupyter-notebook
# Remove the container
docker rm jupyter-notebook