nurdism / neko

A self hosted virtual browser (rabb.it clone) that runs in docker.
Apache License 2.0
2.03k stars 185 forks source link

[BUG] Chromium not working #76

Closed LoicBersier closed 4 years ago

LoicBersier commented 4 years ago

Describe the bug Chromium crash on startup

To Reproduce use nurdism/neko:chromium for the container

Expected behavior Chromium should launch

Desktop (please complete the following information):

Additional context

version: "2.0"
services:
  neko:
    image: nurdism/neko:chromium
    restart: always
    shm_size: "1gb"
    ports:
      - "9999:8080"
      - "59000-59100:59000-59100/udp"
    environment:
      DISPLAY: :99.0
      NEKO_PASSWORD: neko
      NEKO_PASSWORD_ADMIN: admin
      NEKO_BIND: :8080
      NEKO_EPR: 59000-59100

Server is running Fedora 31

Client Log:

No issue on client

Server Log:

https://pastebin.com/raw/vVszw0Wg
TiredSysOp commented 4 years ago

need cap_add:

TiredSysOp commented 4 years ago

Use this instead

version: "2.0" services: neko: image: nurdism/neko:chromium restart: always shm_size: "1gb" cap_add:

LoicBersier commented 4 years ago

That worked, thank you. I tried searching before what was causing this but never found anything about it 😅