rustdesk-server
rustdesk-server copied to clipboard
Possible solution for rustdesk-server-s6 on Armv7 and s6-overlay problem
Hi, I tried to install Rustdesk server on my raspberry Pi3 with Raspian 32bit with Docker, I followed various guides but nothing worked in my machine. The s6-overlay crashed for security reason e the container don't go up (restanting (111)). I have found a solution by adding at the docker-compose file these lines:
security_opt: - seccomp:unconfined
With these lines the container go up and the server work fine.
Can you please post the full docker-compose.yaml file?
(you obviously have to redact the sensitive data)
@paspo sure!
version: '3'
services: rustdesk-server: container_name: rustdesk-server ports: - 21115:21115 - 21116:21116 - 21116:21116/udp - 21117:21117 - 21118:21118 - 21119:21119 image: rustdesk/rustdesk-server-s6:latest-armv7 environment: - "RELAY=MYIP.com:21117" - "ENCRYPTED_ONLY=0" volumes: - ./data:/data restart: unless-stopped security_opt: - seccomp:unconfined
@ilsalgo I tried once again to reproduce your problem, without success.
- I used the
Raspberry Pi OS Liteedition, downloaded from here (so bullseye 32 bit) - I installed docker following the official instructions
- I used the exact
docker-compose.yamlfile you posted REMOVING thesecurity_optpart (last 2 lines) docker compose up -dand the container is not crashing
version: '3'
services:
rustdesk-server:
container_name: rustdesk-server
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21117:21117
- 21118:21118
- 21119:21119
image: rustdesk/rustdesk-server-s6:latest-armv7
environment:
- "RELAY=MYIP.com:21117"
- "ENCRYPTED_ONLY=0"
volumes:
- ./data:/data
restart: unless-stopped
What am I missing?
I have try with two installation and the solution to have the server running without reboots was to add the line in question to the docker container.
I understand that. I'm just trying to replicate the issue, but I'm missing something. I need to see it breaking to understand why it's breaking.
Can you try to replicate it with a clean installation and post here the steps?
Hi, I tried to install Rustdesk server on my raspberry Pi3 with Raspian 32bit with Docker, I followed various guides but nothing worked in my machine. The s6-overlay crashed for security reason e the container don't go up (restanting (111)). I have found a solution by adding at the docker-compose file these lines:
security_opt:
- seccomp:unconfined
With these lines the container go up and the server work fine.
I have created a container for armv7 which is tested to work properly on: armv7,arm64,amd64 and sources are at: https://github.com/elico/rustdesk-server-container/
Example docker-compose at: https://github.com/elico/rustdesk-server-container/blob/master/docker-compose.yml
You just need to set the variables accordingly, the DOMAIN tramps the IP variable.
You can see a demo installation of the container on Mikrotik RouterOS device for internal usage inside a company network at: https://www.youtube.com/watch?v=DGC_Wt6HX7w
Mikrotik RouterOS
Thanks