docker-bits/lsio/rdesktop/docker-run.sh

19 lines
986 B
Bash
Raw Normal View History

2022-03-08 00:44:50 +00:00
# [Rdesktop](http://xrdp.org/) - Containers containing full desktop environments
# in many popular flavors for Alpine, Ubuntu, Arch, and Fedora accessible via
# RDP.
2021-04-10 10:16:29 +00:00
source ./.env
docker run -d \
--name=rdesktop \
2022-04-02 00:45:58 +00:00
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
2023-02-12 01:01:09 +00:00
-e TZ=Etc/UTC `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-10 10:16:29 +00:00
-p 3389:3389 `# RDP access port` \
2021-07-15 00:46:59 +00:00
-v /var/run/docker.sock:/var/run/docker.sock `# optional` `# Docker Socket on the system, if you want to use Docker in the container` \
2021-04-10 10:16:29 +00:00
-v ${BASEDIR:-/volume1/docker}/rdesktop/config:/config `# optional` `# abc users home directory` \
2022-03-08 00:44:50 +00:00
--device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \
2021-04-10 10:16:29 +00:00
--shm-size="1gb" `# optional` \
--restart unless-stopped \
ghcr.io/linuxserver/rdesktop