Sign inSign up

benjaminvincentlab/rserver-sc

By benjaminvincentlab

Updated almost 7 years ago

See: https://github.com/Benjamin-Vincent-Lab/rserver-sc

Image
0

134

benjaminvincentlab/rserver-sc repository overview

Basic RServer for the Vincent Lab

What's with the rserver_handler.sh

In our cluster environment, the rstudio server often doesn't terminate cleanly. The leftover processes affect the binding of volumes for subsequent RServer containers. Additionally processes created by mclapply do not end with the RServer termination. rserver_handler starts a monitor that periodically checks to see if the RServer is done running. If so, it finds all of the processes in the RServer session id (sid) and sends them a sigterm. Then it terminates itself.

Building locally

docker build -t benjaminvincentlab/rserver-sc:3.6.1.0 .

Running locally

docker run -e PASSWORD=12qwaszx --rm -p 8787:8787 -v ~/Desktop:/home/rstudio   benjaminvincentlab/rserver-sc:3.6.1.0 8787

Then direct browser to localhost:8787.

Tag summary

Content type

Image

Digest

Size

1.8 GB

Last updated

almost 7 years ago

docker pull benjaminvincentlab/rserver-sc:3.6.1.3.0