From cab8f3254245ec2cb98402f758f819cddbe55a02 Mon Sep 17 00:00:00 2001 From: Ksan Date: Fri, 10 Jul 2026 01:22:46 +0200 Subject: [PATCH] fixing root permissions inside container --- docker-compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 572e827..a0ed559 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -25,6 +25,11 @@ services: image: ghcr.io/lavalink-devs/lavalink:4 container_name: lavalink restart: unless-stopped + # A mounted volume at /opt/Lavalink/plugins is created root-owned (the image + # has no plugins dir for Docker to copy ownership from), but Lavalink runs as + # a non-root user and can't write there. Run as root so it can download the + # plugin jars into the volume. The container is internal-only. + user: "0:0" env_file: - .env environment: