PACT icon indicating copy to clipboard operation
PACT copied to clipboard

docker environments

Open NevesLucas opened this issue 2 years ago • 0 comments

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 as pact: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.

NevesLucas avatar Jul 08 '22 04:07 NevesLucas