Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created September 12, 2020 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/a6e193038eeb85af9e25b37585660dc2 to your computer and use it in GitHub Desktop.
Save yuyasugano/a6e193038eeb85af9e25b37585660dc2 to your computer and use it in GitHub Desktop.
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