mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-02-04 04:19:42 +01:00
Update _index.en.md
This commit is contained in:
parent
701649d425
commit
1eb7320105
@ -3,9 +3,9 @@ title: Docker
|
||||
weight: 7
|
||||
---
|
||||
|
||||
## Install your own server with Docker
|
||||
### Install your own server with Docker
|
||||
|
||||
### Requirements
|
||||
#### Requirements
|
||||
You need to have Docker/Podman installed to run a rustdesk-server as a Docker container, if in doubt install Docker with this [guide](https://docs.docker.com/engine/install) to ensure its the most up to date!
|
||||
|
||||
By default, `hbbs` listens on 21115 (TCP), 21116 (TCP/UDP) and 21118 (TCP), `hbbr` listens on 21117 (TCP) and 21119 (TCP). Be sure to open these ports in the firewall. **Please note that 21116 should be enabled both for TCP and UDP.** 21115 is used for the NAT type test, 21116/UDP is used for the ID registration and heartbeat service, 21116/TCP is used for TCP hole punching and connection service, 21117 is used for the Relay services, and 21118 and 21119 are used to support web clients. *If you do not need web client (21118, 21119) support, the corresponding ports can be disabled.*
|
||||
@ -13,7 +13,7 @@ By default, `hbbs` listens on 21115 (TCP), 21116 (TCP/UDP) and 21118 (TCP), `hbb
|
||||
- TCP (**21115, 21116, 21117, 21118, 21119**)
|
||||
- UDP (**21116**)
|
||||
|
||||
### Docker examples
|
||||
#### Docker examples
|
||||
|
||||
```sh
|
||||
sudo docker image pull rustdesk/rustdesk-server
|
||||
@ -33,7 +33,7 @@ If `--net=host` works fine, the `-p` options are not used. If on Windows, leave
|
||||
If you can not see logs with `-td`, you can see logs via `docker logs hbbs`. Or you can run with `-it`, `hbbs/hbbr` will not run as daemon mode.
|
||||
{{% /notice %}}
|
||||
|
||||
### Docker Compose examples
|
||||
#### Docker Compose examples
|
||||
For running the Docker files with the `docker-compose.yml` as described here you need to have [Docker Compose](https://docs.docker.com/compose/) installed.
|
||||
```yaml
|
||||
version: '3'
|
||||
|
Loading…
Reference in New Issue
Block a user