A Python3 Miniconda image with Conda dependencies and a minimal set of data science packages.
https://github.com/derailed-dash/dazboconda
This is a modified Docker container image, based on continuumio/miniconda3. It's default action is to run Jupyter Lab.
- It pre-installs a minimal set of data science packages, including:
- Matplotlib
- Numpy
- Pandas
- Networkx
- ImageIO
- Pillow
- Regex
- Scipy
- tqdm
- A docker-compose.yml for starting and serving your site through the container; it automatically sets up environment variables and volumes.
Run this from where we want to store our Jupyter Notebooks on the host.
Run the container:
# To launch JupyterLab
docker run -e "JUPYTER_TOKEN=docker" --rm -it -v "${PWD}:/opt/notebooks" -p 8888:8888 daz502/dazboconda:latest
# To run a shell
docker run -e "JUPYTER_TOKEN=docker" --rm -it -v "${PWD}:/opt/notebooks" -p 8888:8888 daz502/dazboconda:latest sh
Simply launch the container as follows:
docker compose up
If the image is ever updated, we'll want to update the tag and push to docker.io. E.g.
# build
docker image build -t daz502/dazboconda:tagname .
# push
docker push daz502/dazboconda:tagname