forgejo arm64 runner: drop container.docker_host
Setting docker_host makes the runner bind the docker socket into the job container itself, colliding with the explicit -v /var/run/docker.sock:/var/run/docker.sock in container.options, so every job died at create with 'Duplicate mount point: /var/run/docker.sock'. Restores the config the Pi compose runner ran green for months.
This commit is contained in:
parent
42509aacd9
commit
62392be60a
1 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,9 @@ data:
|
||||||
dir: /opt/siriusdevops/runner/cache
|
dir: /opt/siriusdevops/runner/cache
|
||||||
container:
|
container:
|
||||||
privileged: true
|
privileged: true
|
||||||
docker_host: "unix:///var/run/docker.sock"
|
# No docker_host here: setting it makes the runner inject the host socket
|
||||||
|
# bind into the job container itself, which collides with the explicit
|
||||||
|
# -v /var/run/docker.sock in options ("Duplicate mount point").
|
||||||
options: -v /usr/local/bin/docker-static:/usr/bin/docker:ro -v /opt/siriusdevops/runner/cli-plugins:/usr/local/lib/docker/cli-plugins:ro -v /var/run/docker.sock:/var/run/docker.sock
|
options: -v /usr/local/bin/docker-static:/usr/bin/docker:ro -v /opt/siriusdevops/runner/cli-plugins:/usr/local/lib/docker/cli-plugins:ro -v /var/run/docker.sock:/var/run/docker.sock
|
||||||
valid_volumes:
|
valid_volumes:
|
||||||
- "**"
|
- "**"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue