1
0
Fork 0

fix: use sysbox-runc instead of privileged=true & update runner version

This commit is contained in:
Sergio Talens-Oliag 2025-05-13 13:59:54 +02:00
parent 6b1fc98d1b
commit 63106e0e45
Signed by: sto
GPG key ID: 821AEE0FD167FBDF

View file

@ -2,14 +2,16 @@ services:
dind:
image: docker:dind
container_name: 'dind'
privileged: 'true'
# use sysbox-runc instead of using privileged mode
runtime: 'sysbox-runc'
privileged: 'false'
command: ['dockerd', '-H', 'unix:///dind/docker.sock', '-G', '$RUNNER_GID']
restart: 'unless-stopped'
volumes:
- ./dind:/dind
runner:
image: 'data.forgejo.org/forgejo/runner:6.2.2'
image: 'data.forgejo.org/forgejo/runner:6.3.1'
links:
- dind
depends_on: