RustDesk лет назад: 3
Родитель
Сommit
eaf57b4a40
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      README.md

+ 17 - 0
README.md

@@ -40,6 +40,13 @@ These images are build against `ubuntu-20.04` with the only addition of the bina
40 40
 
41 41
 You can start these images directly with `docker run` with these commands:
42 42
 
43
+```
44
+docker run --name hbbs --net=host -v "$PWD:/root" -d rustdesk/rustdesk-server:latest hbbs -r <relay-server-ip[:port]> 
45
+docker run --name hbbr --net=host -v "$PWD:/root" -d rustdesk/rustdesk-server:latest hbbr 
46
+```
47
+
48
+or without --net=host, but P2P direct connection can not work.
49
+
43 50
 ```bash
44 51
 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]> 
45 52
 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
120 127
 
121 128
 You can start these images directly with `docker run` with this command:
122 129
 
130
+or without --net=host, but P2P direct connection can not work.
131
+
132
+```bash
133
+docker run --name rustdesk-server \ 
134
+  --net=host \
135
+  -e "RELAY=rustdeskrelay.example.com" \
136
+  -e "ENCRYPTED_ONLY=1" \
137
+  -v "$PWD/data:/data" -d rustdesk/rustdesk-server-s6:latest
138
+```
139
+
123 140
 ```bash
124 141
 docker run --name rustdesk-server \
125 142
   -p 21115:21115 -p 21116:21116 -p 21116:21116/udp \