Closed elnurgar closed 1 month ago
Dear Elnur,
Could the permission error due to the fact your docker-compose
command has no rights? as in https://stackoverflow.com/questions/59265190/permission-denied-in-docker-compose-on-linux?
If you really cannot use docker-compose
, could you try:
docker run \
-p 3838:3838 \
-p 3839:3839 \
--user=tima-user \
-v "$(pwd)/data:/.tima/data" \
-v "$(pwd)/inst:/.tima/inst" \
adafede/tima-r:latest \
Rscript inst/scripts/run_app.R
I switched a few things in the architecture and did not get failures on Docker up to now...but maybe something broke (are you always pulling the last version?) Is the non-containerized version working?
Dear Adriano,
Thank you for your quick reply. I tried to pull the latest version, it was still the same. However, I tried to run the R install script under sudo and then app_run R script also under sudo. It seems to turn. I keep you informed if I have any problems.
I couldn't work with non-containerized version outside of docker as I don't know how to work with R. Running script through terminal no problems, but how to use R I don't know.
Thank you, Elnur
@elnurgar
I just pushed a fix that should (hopefully) allow the Docker to run without sudo needs.
Happy to hear any feedback 😉
Hi Adriano,
I am trying to use your script with docker, as I understand nothing in R.
1) I tried to use
docker pull adafede/tima-r
and thendocker compose up tima-gui
. I get an error, permission denied trying in 10 seconds repeating all the time.2) I used
docker run -it --user root -e PASSWORD=eiree2Aequ1oj1ch -p 8787:8787 -p 3838:3838 adafede/tima-r
in order to be able to run it without permission problem. I could run Rstudio and gui-interface with commandRscript inst/scripts/run_app.R
. After run the gui interface was active, however some errors occured while running:The gui interface was active so I could access to it, charge mgf, csvfiles and Launch job. It indicates job running and then I get an error:
I tried to run the command
Rscript inst/scripts/run_app.R
under sudo and after job launch I get an error:Do you have any solution ?
Thank you, Elnur