BioLockJ-Dev-Team / sheepdog_testing_suite

Test suite for BioLockJ development team.
3 stars 8 forks source link

need message when docker fails to find container for manager #290

Open IvoryC opened 3 years ago

IvoryC commented 3 years ago
$ biolockj -df manyDirs.properties 
 ---------> Docker CMD [ docker run --rm -e BLJ=/Users/ieclabau/git/BioLockJ  -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=/Users/ieclabau/git/sheepdog_testing_suite/MockMain/pipelines,target=/mnt/efs/pipelines --mount type=bind,source=/Users/ieclabau/git/sheepdog_testing_suite/test/bash/dockerMounts/ape,target=/mnt/efs/vol_1 biolockjdevteam/biolockj_controller:v1.3.12 java -cp /app/biolockj/dist/BioLockJ.jar biolockj.BioLockJ -projectDir /Users/ieclabau/git/sheepdog_testing_suite/MockMain/pipelines -config /Users/ieclabau/git/sheepdog_testing_suite/test/bash/dockerMounts/ape/manyDirs.properties ]

This gives me no indication that anything has gone wrong, or what has gone wrong.

I copied the docker command and ran it directly...

-->ape $ docker run --rm -e BLJ=/Users/ieclabau/git/BioLockJ  -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source=/Users/ieclabau/git/sheepdog_testing_suite/MockMain/pipelines,target=/mnt/efs/pipelines --mount type=bind,source=/Users/ieclabau/git/sheepdog_testing_suite/test/bash/dockerMounts/ape,target=/mnt/efs/vol_1 biolockjdevteam/biolockj_controller:v1.3.12 java -cp /app/biolockj/dist/BioLockJ.jar biolockj.BioLockJ -projectDir /Users/ieclabau/git/sheepdog_testing_suite/MockMain/pipelines -config /Users/ieclabau/git/sheepdog_testing_suite/test/bash/dockerMounts/ape/manyDirs.properties

Unable to find image 'biolockjdevteam/biolockj_controller:v1.3.12' locally
docker: Error response from daemon: manifest for biolockjdevteam/biolockj_controller:v1.3.12 not found: manifest unknown: manifest unknown.
See 'docker run --help'.

THIS message is helpful. Wherever this is inside BioLockJ, this message needs to get passed along to the screen.