PACT
PACT copied to clipboard
docker environments
add both a parallel and serial docker image for portability and simplified dependency installation.
note: mpi doesnt seem to be playing nice, so for now only the serial docker image can run the example scripts documented.
usage:
- download the model files with
python DownloadML.py
- run
build_docker.sh
to generate the docker image, automatically tagged aspact:latest-serial
- the container can be run as an interactive shell with:
docker run -it --rm pact:latest-serial
- if host machine files are needed they can be mounted with
-v
. eg:docker run -it --rm -v SRC:DEST -u $(id -u ${USER}):$(id -g ${USER}) pact:latest-serial
- Note that this makes the internal filesystem, except for the mounted directory, read only.