Docker is an open platform for developers and system administrators to build, ship and run distributed applications,whether on laptops, data center virtual machines or the cloud. Anaconda, Inc. provides Anaconda and Miniconda Docker images.
Begin by browsing the available Anaconda images on our Docker profile.
To obtain a fully working Anaconda image:
In a terminal window, run this command to display a list of available images:
docker search continuumio
Pull the desired image:
docker pull continuumio/miniconda
Create a container using the 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 the container:
You now have a fully working Anaconda image.
To install and launch the Jupyter Notebook, execute the following command all on one line 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"
NOTE: Line breaks in the example above are for readability only. Enter the command all on one line.
<DOCKER-MACHINE-IP> with your Docker Machine VM IP address.