Sign inSign up

benjaminvincentlab/rserver

By benjaminvincentlab

Updated almost 6 years ago

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

Image
0

573

benjaminvincentlab/rserver 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:4.0.0.2 .

Running locally

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

Then direct browser to localhost:8787.

Tagging

v.w.x.y.z
vwx is the version of R.
y is the version of the rserver it uses.
z is the version of this Dockerfile.

cd /home/dbortone/docker/rserver
my_comment="Adding acl to see if that works on the cluster."
git add .
git commit -am "$my_comment"; git push
git tag -a 4.0.0.3 -m "$my_comment"; git push -u origin --tags

Tag summary

Content type

Image

Digest

Size

1.4 GB

Last updated

almost 6 years ago

docker pull benjaminvincentlab/rserver:4.0.0.3