From 888c3b95eee14eeb338cf208e0b1faab475211b5 Mon Sep 17 00:00:00 2001 From: Daniel Arroyo Date: Wed, 12 Aug 2026 19:27:15 -0400 Subject: [PATCH] =?UTF-8?q?fix(ci):=20drop=20volumes=20block=20=E2=80=94?= =?UTF-8?q?=20act=20runner=20already=20mounts=20docker.sock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit act (the runner the user is running) auto-mounts the docker socket via volume `GITEA-ACTIONS-TASK-...-env Target:/var/run/act`. Declaring volumes: in the workflow causes a duplicate mount (once via the volumes block, once via act's auto-mount): Binds:[/var/run/docker.sock:/var/run/docker.sock /var/run/docker.sock:/var/run/docker.sock] failed to create container: 'Error response from daemon: Duplicate mount point' Drop the explicit volumes block. The socket is already there. The docker CLI inside the container can talk to the host daemon via the already-mounted socket. --- .gitea/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6f77b83..4f4e3f5 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -20,8 +20,6 @@ jobs: container: image: maven:3.9.6-eclipse-temurin-21 options: --memory=8g - volumes: - - /var/run/docker.sock:/var/run/docker.sock steps: - name: Install git, node, gcc, docker, and basic tools run: |