Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker environments #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

docker environments #11

wants to merge 5 commits into from

Conversation

NevesLucas
Copy link

@NevesLucas NevesLucas commented Jul 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant