This commit is contained in:
rustdesk
2022-04-21 03:36:57 +08:00
parent 6fdb8323ea
commit a59bf2eef3
30 changed files with 333 additions and 3 deletions

View File

@@ -69,8 +69,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
```
<a name="net-host"></a>
{{% notice note %}}
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than contain ip (172.17.0.1)
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than container ip (172.17.0.1).
If --net=host works fine, -p options are useless.
**Please remove --net=host if see connection problem no your platform**
{{% /notice %}}

View File

@@ -67,8 +67,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
```
<a name="net-host"></a>
{{% notice note %}}
据我所知,--net=host 仅适用于 Linux它让 hbbs/hbbr 可以看到对方真实的ip, 而不是固定的容器ip (172.17.0.1)
据我所知,--net=host 仅适用于 Linux它让 hbbs/hbbr 可以看到对方真实的ip, 而不是固定的容器ip (172.17.0.1)
如果--net=host运行正常-p选项就不起作用了, 可以去掉。
**请去掉 --net=host如果您在非Linux系统上遇到无法连接的问题**
{{% /notice %}}

View File

@@ -67,8 +67,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
```
<a name="net-host"></a>
{{% notice note %}}
據我所知,--net=host 僅適用於 Linux它讓 hbbs/hbbr 可以看到對方真實的ip, 而不是固定的容器ip (172.17.0.1)
據我所知,--net=host 僅適用於 Linux它讓 hbbs/hbbr 可以看到對方真實的ip, 而不是固定的容器ip (172.17.0.1)
如果--net=host運行正常-p選項就不起作用了, 可以去掉。
****請去掉 --net=host如果您在非Linux系統上遇到無法連接的問題**
{{% /notice %}}