diff options
author | RustDesk <[email protected]> | 2022-07-01 21:37:35 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-07-01 21:37:35 +0800 |
commit | eaf57b4a40ba9ba86cdb11a4885595f557b1ba15 (patch) | |
tree | c3adaaf0812b8178c77e379c3457671e0cbf9fd8 /README.md | |
parent | 81d65623a3d197f7b7ec5c54f01795c7b7e9a026 (diff) | |
download | rustdesk-server-eaf57b4a40ba9ba86cdb11a4885595f557b1ba15.tar.gz rustdesk-server-eaf57b4a40ba9ba86cdb11a4885595f557b1ba15.zip |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -40,6 +40,13 @@ These images are build against `ubuntu-20.04` with the only addition of the bina You can start these images directly with `docker run` with these commands: +``` +docker run --name hbbs --net=host -v "$PWD:/root" -d rustdesk/rustdesk-server:latest hbbs -r <relay-server-ip[:port]> +docker run --name hbbr --net=host -v "$PWD:/root" -d rustdesk/rustdesk-server:latest hbbr +``` + +or without --net=host, but P2P direct connection can not work. + ```bash docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v "$PWD:/root" -d rustdesk/rustdesk-server:latest hbbs -r <relay-server-ip[:port]> docker run --name hbbr -p 21117:21117 -p 21119:21119 -v "$PWD:/root" -d rustdesk/rustdesk-server:latest hbbr @@ -120,6 +127,16 @@ The S6-overlay acts as a supervisor and keeps both process running, so with this You can start these images directly with `docker run` with this command: +or without --net=host, but P2P direct connection can not work. + +```bash +docker run --name rustdesk-server \ + --net=host \ + -e "RELAY=rustdeskrelay.example.com" \ + -e "ENCRYPTED_ONLY=1" \ + -v "$PWD/data:/data" -d rustdesk/rustdesk-server-s6:latest +``` + ```bash docker run --name rustdesk-server \ -p 21115:21115 -p 21116:21116 -p 21116:21116/udp \ |