fix: use sysbox-runc instead of privileged=true & update runner version
This commit is contained in:
parent
6b1fc98d1b
commit
63106e0e45
1 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue