docker-bits/lsio/rdesktop/docker-run.sh
2023-04-26 00:53:18 +00:00

18 lines
904 B
Bash

# [Rdesktop](http://xrdp.org/) - Containers containing full desktop environments
# in many popular flavors for Alpine, Ubuntu, Arch, and Fedora accessible via
# RDP.
. ./.env
docker run -d \
--name=rdesktop \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
-p 3389:3389 `# RDP access port` \
-v /var/run/docker.sock:/var/run/docker.sock `# optional` `# Docker Socket on the system, if you want to use Docker in the container` \
-v ${BASEDIR:-/volume1/docker}/rdesktop/config:/config `# optional` `# abc users home directory` \
--device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \
--shm-size="1gb" `# optional` \
--restart unless-stopped \
ghcr.io/linuxserver/rdesktop