Просмотр исходного кода

Update README.md for SELinux comment

Added comment noting the changes required to make the containers work on a system using SELinux
Miguel Agueda лет назад: 3
Родитель
Сommit
506b0b5364
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -48,6 +48,8 @@ docker run --name hbbr --net=host -v "$PWD/data:/root" -d rustdesk/rustdesk-serv
48 48
 
49 49
 or without --net=host, but P2P direct connection can not work.
50 50
 
51
+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`.
52
+
51 53
 ```bash
52 54
 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]> 
53 55
 docker run --name hbbr -p 21117:21117 -p 21119:21119 -v "$PWD/data:/root" -d rustdesk/rustdesk-server:latest hbbr