Sign inSign up

tonysaagie/docker-rstudio-lite

By tonysaagie

•Updated about 5 years ago

Image
0

395

tonysaagie/docker-rstudio-lite repository overview

⁠How to install on Saagie

Create a custom app with the following options:

  • Image: tonysaagie/docker-rstudio-lite
  • Port: 80
  • Basepath: SAAGIE_BASE_PATH
  • Rewrite: No
  • Persistant Storage: 128Mo
  • Path: /home

⁠Environment Variables

There are 2 mandatory environment variables:

  • $RSTUDIO_ADMIN_PASSWORD: Password for the user admin, with root permissions
  • $RSTUDIO_PASSWORD: Password for the user rstudio

⁠Create new RStudio users

If you want to create new RStudio users, you'll need to log in to RStudio as: admin (password: ${RSTUDIO_ADMIN_PASSWORD}). Then go to 'Tools > Shell' and run sudo adduser my_new_user. You'll be prompted to enter admin's password, and then to choose your new user's password. No need to fill in the other fields. If you want to allow this new user to install libraries, you need to add him to the staff group using the following command: sudo adduser my_new_user staff.

Important note: After you created a new user, remember to run ./backupusers. This will backup users info in a tarball. If you add mounted a volume to /home, every user will be recreated on next container startup.

Tag summary

Content type

Image

Digest

Size

857.4 MB

Last updated

about 5 years ago

docker pull tonysaagie/docker-rstudio-lite