This Dockerfile is used to run binfotron functions.
https://hub.docker.com/repository/docker/benjaminvincentlab/rserver-binfotron
docker build -t benjaminvincentlab/rserver-binfotron:4.0.3.2 .
docker run -e PASSWORD=12qwaszx --rm -p 8787:8787 -v ~/Desktop:/home/rstudio benjaminvincentlab/rserver-binfotron:4.0.3.2 8787
Then direct browser to localhost:8787.
Either make sure you do all of the following:
data_dir=$(mktemp -d -t rserver-XXXXXXXX)}
database_config_path=${data_dir}/database.conf
echo "provider=sqlite" > $database_config_path
echo "directory=${data_dir}" >> $database_config_path
echo "provider=postgresql" >> $database_config_path
echo "host=localhost" >> $database_config_path
echo "database=rstudio" >> $database_config_path
echo "port=5432" >> $database_config_path
echo "username=postgres" >> $database_config_path
echo "password=postgres" >> $database_config_path
echo "connection-timeout-seconds=10" >> $database_config_path
echo "connection-uri=postgresql://postgres@localhost:5432/rstudio?sslmode=allow&options=-csearch_path=public" >> $database_config_path
singularity exec --pid --nohttps --home $rstudio_home_dir --bind $bindings $image_path \
rserver --www-port $source_command --server-data-dir $data_dir --database-config-file $database_config_path"
- or -
Use run_rserver to run it. It will do all of the above steps for you.
v.w.x.y
vwx is the version of R.
y is the version of this Dockerfile.
Content type
Image
Digest
sha256:d4ea80f3b…
Size
2 GB
Last updated
over 1 year ago
docker pull benjaminvincentlab/rserver-binfotron:4.4.1.05