Docker¶
NOTE: Please read the official Docker documentation and specifically the information related to Docker images.
Begin by browsing the available Continuum images on our Docker profile.
Alternately, you may view a list of available images via a terminal window:
docker search continuumio
Then pull the desired image:
docker pull continuumio/miniconda
Now you can create a container using this image:
docker run -t -i continuumio/miniconda /bin/bash
This gives you direct access to the container where the conda tool is already available. Test it with the following command:
conda info
You now have a fully working Continuum image.
Jupyter Notebooks¶
You can install and launch the Jupyter Notebook with the following command from the host machine.
docker run -i -t -p 8888:8888 continuumio/miniconda /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"
To access the Jupyter notebook open http://localhost:8888
in your browser,
or http://<DOCKER-MACHINE-IP>:8888
if you are using a Docker Machine VM.