m1k1o / neko

A self hosted virtual browser that runs in docker and uses WebRTC.
https://neko.m1k1o.net/
Apache License 2.0
5.95k stars 449 forks source link

Error starting userland proxy #317

Open DAMIOSKIDEV opened 1 year ago

DAMIOSKIDEV commented 1 year ago

Hello, when I deploy the Neko container on Docker, I get an error message:

ERROR: for neko_neko_1 Cannot start service neko: driver failed programming external connectivity on endpoint neko_neko_1 (1a3cd4248a69503575704cde5714230bb0c4 9af7a535fe2d10013a317517cb9f): Error starting userland proxy:

ERROR: for neko Cannot start service neko: driver failed programming external connectivity on endpoint neko_neko_1 (1a3cd4248a69503575704cde5714230bb0c49af7a53 5fe2d10013a317517cb9f): Error starting userland proxy:
ERROR: Encountered errors while bringing up the project.

image

Impossible to find out what's causing the problem, i don't have log.

Dockerfile:

version: "3.4"
services:
  neko:
    image: "m1k1o/neko:brave"
    restart: "unless-stopped"
    shm_size: "4gb"
    ports:
      - "4598:8080"
      - "52000-52100:52000-52100/udp"
    environment:
      NEKO_SCREEN: 1920x1080@30
      NEKO_PASSWORD: neko
      NEKO_PASSWORD_ADMIN: admin
      NEKO_EPR: 52000-52100
      NEKO_ICELITE: 1

Please note that none of these ports are in use.

System Infos:

OS: Ubuntu 22.04.2 LTS x86_64
Kernel: 5.2.0
Shell: bash 5.1.16
CPU: Intel Xeon E5-2680 v2 (8) @ 1.999GHz
Memory: 4689MiB / 32768MiB
m1k1o commented 1 year ago

That looks like docker error. Can you start any other container with exposed ports? E.g. docker run --rm -it -p 8080:80 nginx

DAMIOSKIDEV commented 1 year ago

image

Yes i can

m1k1o commented 1 year ago

This error comes from docker, and all my searches hint that this happens when you already have exposed port. But you said you are sure ports are not in use, so I don't have an idea.