I'm trying to run an Rscript through entrypoint but for some reason when I do this it fails to recognize the file. Here is an example.
docker run -it --rm -v /N/Rfinal/:/tmp --entrypoint "Rscript /tmp/test.R" rocker/rstudio:latest
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345:
starting container process caused "exec: \"Rscript /tmp/test.R\":
stat Rscript /tmp/test.R: no such file or directory": unknown.
The way I can get bash command is through entrypoint for this particular docker. Is there anything I can do? thanks.