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:
|
dind:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
container_name: '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']
|
command: ['dockerd', '-H', 'unix:///dind/docker.sock', '-G', '$RUNNER_GID']
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
volumes:
|
volumes:
|
||||||
- ./dind:/dind
|
- ./dind:/dind
|
||||||
|
|
||||||
runner:
|
runner:
|
||||||
image: 'data.forgejo.org/forgejo/runner:6.2.2'
|
image: 'data.forgejo.org/forgejo/runner:6.3.1'
|
||||||
links:
|
links:
|
||||||
- dind
|
- dind
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue