rstudio-server-docker
所属分类:Docker
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2023-08-28 04:41:22
上 传 者:
sh-1993
说明: rstudio服务器驳接器,,
(rstudio-server-docker,,)
文件列表:
docker/ (0, 2023-09-16)
docker/Dockerfile (736, 2023-09-16)
docker/entrypoint.sh (1983, 2023-09-16)
singularity/ (0, 2023-09-16)
singularity/Dockerfile (520, 2023-09-16)
singularity/auth.sh (390, 2023-09-16)
singularity/entrypoint.sh (991, 2023-09-16)
singularity/make_credential_string.sh (676, 2023-09-16)
# rstudio-server-docker
[![docker image with rstudio-server daily version --> docker hub](https://github.com/aheinzel/rstudio-server-docker/actions/workflows/build-and-push-docker-image_with_daily_build.yml/badge.svg)](https://github.com/aheinzel/rstudio-server-docker/actions/workflows/build-and-push-docker-image_with_daily_build.yml)
[![docker image with rstudio-server release version --> docker hub](https://github.com/aheinzel/rstudio-server-docker/actions/workflows/build-and-push-docker-image_with_stable_build.yml/badge.svg)](https://github.com/aheinzel/rstudio-server-docker/actions/workflows/build-and-push-docker-image_with_stable_build.yml)
[![docker image with rstudio-server release version for non root users --> docker hub](https://github.com/aheinzel/rstudio-server-docker/actions/workflows/build-and-push-docker-image_non_root_with_stable_build.yml/badge.svg)](https://github.com/aheinzel/rstudio-server-docker/actions/workflows/build-and-push-docker-image_non_root_with_stable_build.yml)
## Availability
Docker images are available from docker hub ([ah3inz3l/rstudio-server](https://hub.docker.com/r/ah3inz3l/rstudio-server)).
## Usage
### Run (Single User)
```
docker run \
-d \
-p8787:8787 \
-e RUSER="user:pass" \
-v XXX:/home/user \
ah3inz3l/rstudio-server notimeout
```
### Run (Multiple Users)
Run container with a single user named *user* with password *pass*. See section
```
docker run \
-i \
--rm \
-p8787:8787 \
-v XXX:/home/user1 \
-v XXX:/home/user2 \
-v XXX:/home/user3 \
ah3inz3l/rstudio-server notimeout < :warning: **min UID 1000**: The user used to run services in the container must have a user id greater or equal than 1000.
```
singularity run \
--contain \
--ipc \
--cleanenv \
--writable-tmpfs \
--bind XXX:/home/CONTAINER-USER \
--env RPASS=pass \
"docker://ah3inz3l/rstudio-server:latest-release-singularity"
```
### User Creation (only for images running as root)
User info can be provided via the environment variable (`-e`) RUSER or STDIN (only in interactive mode). Both options support multiple users whereby data for each user must be provided on a single line. The following formats are supported:
* **`user:pass`** A user named *user* with password *pass*; The user will be mapped to the next free uid and a new primary group will be generated for the user.
* **`1000:user:pass`** A user named *user* mapped to user id *1000* with password *pass*; A new primary group will be generated for the user.
* **`1000:2000:user:pass`** A user named *user* with password *pass*. The user will be mapped to user id *1000* and its primary group will be set to group id *2000*. In case no group with group id *2000* exists a new group named *user* will be automatically created.
近期下载者:
相关文件:
收藏者: