mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-01-27 00:18:34 +01:00
Merge pull request #321 from dinger1986/master
Updating docker docs and Support
This commit is contained in:
commit
708a089322
@ -18,10 +18,3 @@ Paid Support: You can [email](mailto:support@rustdesk.com) to get started.
|
||||
We can help with lots of problems, installations and configurations. Fully managed hosted servers are also available as well as monthly support packages.
|
||||
|
||||
You get Priority #1 fast responses and service.
|
||||
|
||||
### SSH Access
|
||||
To provide SSH access to your server for troubleshooting, please add the following key to `~/username/.ssh/authorized_keys` and ensure the file has permissions `600`.
|
||||
|
||||
You may refer to this [tutorial](https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server) for reference.
|
||||
|
||||
`ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYfY6/reXgLrtwoLiRSyBJ99bDJBe+DrqPvmqGSItF020UrKdIBARD2BtZ4tM8nCbJSghq2poNuoIDaAcsQuRqkiX/rBzCuh+6H1DB1dqB2GTDKM2skN7zE1spdvgpqSPXKRj5sr74cJ/M7oHq81yRfR3K62Qrj5LoZHSS3w2Uxbf82fkX1YNZrgDRpqt+oIpA2L9r43XquYrZYibwQZt5574Ol5y+knf8HAaA35JSHN3XnNdGVIJmA7PsUKt0sHqshsypE1abGdES6yb48DvKTpfpu+NsoR5xSqePEJnjuiT2T/aiP/ps03Azb2HLjUD5oZgVJ6QmgpeZ/Gub/Nj0J68CV7lPYkoGBqUFeHpWFoKO/MB3bUFf4vU8UhHetck+iGOG/uyyBmLewPwIuCU/gZ37d6qx40YZuPdUU2FhbPqYu1OxlwRajIvgZOvKo6n8piyaIUwBQ9Bgd9iGrbGXzqGGt9a8zkzDjzzcNg5h/sbjG44K+m0kbPcH1yrYo7mQjaIzLk7qtH4KWXMlFxFfpfGF9SKm6jATURYdUhhoZ/RCgh7HD+070IhHLJwdzPcUQg8KPhf5Ep3VigN0R/474XsyfohY5W2zKB46TunbhTq79KHv2wPzFHjkikXIVxHOnwPhXBHZSoL7+1cIE8o275KecdfIuhFj6bU99nUzyw== support@rustdesk`
|
||||
|
@ -14,10 +14,11 @@ By default, `hbbs` listens on 21115 (TCP), 21116 (TCP/UDP) and 21118 (TCP), `hbb
|
||||
- UDP (**21116**)
|
||||
|
||||
### Docker examples
|
||||
|
||||
```sh
|
||||
sudo docker image pull rustdesk/rustdesk-server
|
||||
sudo docker run --name hbbs -v `pwd`:/root -td --net=host rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -v `pwd`:/root -td --net=host rustdesk/rustdesk-server hbbr
|
||||
sudo docker run --name hbbs -v ./data:/root -td --net=host rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -v ./data:/root -td --net=host rustdesk/rustdesk-server hbbr
|
||||
```
|
||||
<a name="net-host"></a>
|
||||
|
||||
|
@ -7,12 +7,12 @@ weight: 6
|
||||
|
||||
Install Docker with this [guide](https://docs.docker.com/engine/install) to ensure its the most up to date!
|
||||
|
||||
Run the following commands:
|
||||
Run the following commands (s6 image may need ./data:/data instead of ./data:/root):
|
||||
|
||||
```sh
|
||||
sudo docker image pull rustdesk/rustdesk-server-pro
|
||||
sudo docker run --name hbbs -v `pwd`:/root -td --net=host --restart unless-stopped rustdesk/rustdesk-server-pro hbbs
|
||||
sudo docker run --name hbbr -v `pwd`:/root -td --net=host --restart unless-stopped rustdesk/rustdesk-server-pro hbbr
|
||||
sudo docker run --name hbbs -v ./data:/root -td --net=host --restart unless-stopped rustdesk/rustdesk-server-pro hbbs
|
||||
sudo docker run --name hbbr -v ./data:/root -td --net=host --restart unless-stopped rustdesk/rustdesk-server-pro hbbr
|
||||
```
|
||||
|
||||
{{% notice note %}}
|
||||
@ -22,8 +22,8 @@ The above example uses `sudo` and `--net=host`, this will not work on Windows pl
|
||||
```sh
|
||||
macaddrhbbs=$(echo -n A0-62-2F; dd bs=1 count=3 if=/dev/random 2>/dev/null |hexdump -v -e '/1 "-%02X"')
|
||||
sudo docker image pull rustdesk/rustdesk-server-pro
|
||||
sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -td --mac-address="$macaddrhbbs" --restart unless-stopped rustdesk/rustdesk-server-pro hbbs
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -td --restart unless-stopped rustdesk/rustdesk-server-pro hbbr
|
||||
sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v ./data:/root -td --mac-address="$macaddrhbbs" --restart unless-stopped rustdesk/rustdesk-server-pro hbbs
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v ./data:/root -td --restart unless-stopped rustdesk/rustdesk-server-pro hbbr
|
||||
```
|
||||
|
||||
### Docker Compose
|
||||
|
Loading…
Reference in New Issue
Block a user