Created
September 12, 2020 05:42
-
-
Save yuyasugano/a6e193038eeb85af9e25b37585660dc2 to your computer and use it in GitHub Desktop.
Anaconda3 official docker image operation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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