Closed callahantiff closed 4 years ago
Thanks to @bill-baumgartner - Docker is now fully functional!
Just for archiving purposes, the following commands are used when interacting with the container:
BUILD CONTAINER
docker build -t pkt:2.0.0 .
RUN pkt FROM OUTSIDE CONTAINER (example)
docker run --name pkt_test --rm -ti -v /Users/tiffanycallahan/Dropbox/GraduateSchool/PhD/LabWork/PheKnowLator/resources/knowledge_graphs/:/PheKnowLator/resources/knowledge_graphs/ pkt:2.0.0 --app subclass --kg full --nde yes --rel yes --owl no --kgm yes
RUN pkt FROM INSIDE CONTAINER (example)
docker exec -ti pkt_test sh -c "/PheKnowLator/entrypoint.sh --app subclass --kg full --nde yes --rel yes --owl no --kgm yes"
The multi-stage Docker container is runnable from within the container, but is not runnable from outside of the container. No error message is generated, but container hangs in
main()
and never seems to instantiate the first class in the workflow.Dockerfile Location: https://github.com/callahantiff/PheKnowLator/blob/adding_docker/Dockerfile
Updates:
1.17.05
, the version needed to run multi-stage container