Skip to content

Commit

Permalink
Merge pull request #236 from ContinuumIO/docu
Browse files Browse the repository at this point in the history
Update docker jupyter example command and Python version in READMEs
  • Loading branch information
dbast committed Jul 26, 2021
2 parents 052e0f9 + 10f72c2 commit 8749a70
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions anaconda3/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker-anaconda

Docker container with a bootstrapped installation of [Anaconda](http://continuum.io/downloads) (based on Python 3.7) that is ready to use.
Docker container with a bootstrapped installation of [Anaconda](https://www.anaconda.com/products/individual#Downloads) (based on Python 3.X) that is ready to use.

The Anaconda distribution is installed into the `/opt/conda` folder and ensures that the default user has the `conda` command in their path.

Expand All @@ -16,6 +16,11 @@ You can download and run this image using the following commands:

Alternatively, you can start a Jupyter Notebook server and interact with Anaconda via your browser:

docker run -i -t -p 8888:8888 continuumio/anaconda3 conda "install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=8888 --no-browser"
docker run -i -t -p 8888:8888 continuumio/anaconda3 /bin/bash -c "\
conda install jupyter -y --quiet && \
mkdir -p /opt/notebooks && \
jupyter notebook \
--notebook-dir=/opt/notebooks --ip='*' --port=8888 \
--no-browser --allow-root"

You can then view the Jupyter Notebook by opening `http://localhost:8888` in your browser, or `http://<DOCKER-MACHINE-IP>:8888` if you are using a Docker.
9 changes: 7 additions & 2 deletions miniconda3/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker-miniconda

Docker container with a bootstrapped installation of [Miniconda](http://conda.pydata.org/miniconda.html) (based on Python 3.8) that is ready to use.
Docker container with a bootstrapped installation of [Miniconda](https://docs.conda.io/en/latest/miniconda.html) (based on Python 3.X) that is ready to use.

The Miniconda distribution is installed into the `/opt/conda` folder and ensures that the default user has the `conda` command in their path.

Expand All @@ -16,6 +16,11 @@ You can download and run this image using the following commands:

Alternatively, you can start a Jupyter Notebook server and interact with Miniconda via your browser:

docker run -i -t -p 8888:8888 continuumio/miniconda3 conda "install jupyter -y --quiet && mkdir /opt/notebooks && /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=8888 --no-browser"
docker run -i -t -p 8888:8888 continuumio/miniconda3 /bin/bash -c "\
conda install jupyter -y --quiet && \
mkdir -p /opt/notebooks && \
jupyter notebook \
--notebook-dir=/opt/notebooks --ip='*' --port=8888 \
--no-browser --allow-root"

You can then view the Jupyter Notebook by opening `http://localhost:8888` in your browser, or `http://<DOCKER-MACHINE-IP>:8888` if you are using a Docker.

0 comments on commit 8749a70

Please sign in to comment.