Welcome to SAMPL’s Docker documentation!

Warning

This documentation is in active development and is subject to change.

Docker Overview

See the docker documentation for more details.

Conda

Note

A familiarity of conda is assumed

Example docker file

FROM continuumio/miniconda3:4.9.2-alpine
WORKDIR /opt/app
COPY environment.yml ./
RUN conda env create -f environment.yml && \
    conda clean --all --yes
ENTRYPOINT ["conda", "run", "-n", "test"]

The ENTRYPOINT directive will ensure that commands passed into the container with run will use the correct conda environment.

Indices and tables