Open ilsalgo opened 1 year ago
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:
@ilsalgo I tried once again to reproduce your problem, without success.
Raspberry Pi OS Lite
edition, downloaded from here (so bullseye 32 bit)docker-compose.yaml
file you posted REMOVING the security_opt
part (last 2 lines)docker compose up -d
and the container is not crashingversion: '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
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:
With these lines the container go up and the server work fine.