Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Anaconda3 official docker image operation
docker pull continuumio/anaconda3
docker run -i -t continuumio/anaconda3 /bin/bash
docker exec -it anaconda3 /bin/bash
(base) root@cf4159e2079b:/# jupyter notebook list
Currently running servers:
http://localhost:8888/?token=40c7136664c88b4f5d9f49723f03915830da4104b52e8afe :: /opt/notebooks
# Alternatively, you can start a Jupyter Notebook server and interact with Anaconda via your browser
docker run -i -t -p 8888:8888 continuumio/anaconda3 /bin/bash -c "/opt/conda/bin/conda install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser --allow-root"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment