aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorMiguel Agueda <[email protected]>2022-09-03 03:03:32 +0200
committerGitHub <[email protected]>2022-09-03 03:03:32 +0200
commit506b0b5364f3072b34544919aaa581b323dc4f4d (patch)
tree17cfa64a3250ca7a4114419b2a149e53b3f1269d /README.md
parent4bdc205fca189e2d3e8207d2a68c0dd9c166429d (diff)
downloadrustdesk-server-506b0b5364f3072b34544919aaa581b323dc4f4d.tar.gz
rustdesk-server-506b0b5364f3072b34544919aaa581b323dc4f4d.zip
Update README.md for SELinux comment
Added comment noting the changes required to make the containers work on a system using SELinux
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2c84543..e0272e1 100644
--- a/README.md
+++ b/README.md
@@ -48,6 +48,8 @@ docker run --name hbbr --net=host -v "$PWD/data:/root" -d rustdesk/rustdesk-serv
or without --net=host, but P2P direct connection can not work.
+For systems using SELinux, replacing `/root` by `/root:z` is required for the containers to run correctly. Alternatively, SELinux container separation can be disabled completely adding the option `--security-opt label=disable`.
+
```bash
docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v "$PWD/data:/root" -d rustdesk/rustdesk-server:latest hbbs -r <relay-server-ip[:port]>
docker run --name hbbr -p 21117:21117 -p 21119:21119 -v "$PWD/data:/root" -d rustdesk/rustdesk-server:latest hbbr