Simon-Harris-IBM / ChallengeWorkflowTemplatesSimon

0 stars 1 forks source link

Use docker container/volumes to access local file system #12

Closed thomasyu888 closed 4 years ago

thomasyu888 commented 4 years ago

For this to work you will have to copy the prediction file into a docker volume:

docker run -v truth:/data/ --name helper busybox true
docker cp /ObjectNet-CONFIDENTIAL/answers_by_id.json truth:/data/answers_by_id.json

In short, docker containers can communicate with each other. Therefore, if I upload a file into a docker volume through a docker container, I can download that same file from it.