From 506b0b5364f3072b34544919aaa581b323dc4f4d Mon Sep 17 00:00:00 2001 From: Miguel Agueda <53227622+miguelagve@users.noreply.github.com> Date: Sat, 3 Sep 2022 03:03:32 +0200 Subject: [PATCH] Update README.md for SELinux comment Added comment noting the changes required to make the containers work on a system using SELinux --- README.md | 2 ++ 1 file changed, 2 insertions(+) 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 docker run --name hbbr -p 21117:21117 -p 21119:21119 -v "$PWD/data:/root" -d rustdesk/rustdesk-server:latest hbbr