Create RStudio User Accounts
Log in to RStudio as an administrator.
In, run the following command:
sudo adduser my_new_user
Enter the password for the administrator account, then choose the password for the new user account.
OPTIONAL: To allow this new user to install libraries, you must add him to the staff group by running the following command:
sudo adduser my_new_user staff.
Save your newly created account by running the following command:
This creates an archive on a mounted volume, which automatically recreates users when the Docker RStudio is restarted.