The dockerfile.
The docker builds and runs fine. Currently, I run and attach into the docker, and manually send the command:
./pipe.sh /data/ RB17MT1804 /data/H37Rv_refe /data/temp /data/out
.
However, I have heard that this can be passed into the docker run command itself, of which I have concocted this:
docker run -it --rm -v /Backup/Data/:/data/ qimr_slim /data/ RB17MT1804 /data/H37Rv_refe /data/temp /data/out
which works with
ENTRYPOINT ["pipe.sh"]
in the dockerfile.
However, this results in this error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process cause"exec: \"pipe.sh\": executable file not found in $PATH": unknown.
To check whether the container built properly, I have entered it again via
docker run -it --entrypoint /bin/bash qimr_slim
which has no problems, and the script also runs without any problems as the format above, so this means the script, dependencies, and permissions are not a problem.
Can anyone tell where I’m going wrong with this docker usage?