RustDesk Server in Docker with custom ports

docker volume create RustDesk

docker image pull rustdesk/rustdesk-server

docker run --name hbbs -v RustDesk:/root -p xxx.xxx.xxx.xxx:1234-1236:21114-21116 -p xxx.xxx.xxx.xxx:1236:21116/udp -td --restart unless-stopped rustdesk/rustdesk-server hbbs
docker run --name hbbr -v RustDesk:/root -p xxx.xxx.xxx.xxx:9876:21117 -td --restart unless-stopped rustdesk/rustdesk-server hbbr

ID Server: xxx.xxx.xxx.xxx:1236
Relay server: xxx.xxx.xxx.xxx:9876
Key:
cat /var/lib/docker/volumes/RustDesk/_data/id_ed25519.pub

Reference
https://docs.docker.com/engine/install/ubuntu/
https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/docker/

發佈留言

*