connect docker sock, set network mode

This commit is contained in:
Adam Shamblin 2022-11-06 21:51:06 -07:00
parent 50464d5ba4
commit 5b86843739
No known key found for this signature in database
GPG Key ID: 22E0BC8E6B4D8C8E
2 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,8 @@ check_interval = 0
[runners.docker]
privileged = true
tls_verify = false
network_mode = host
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0

View File

@ -1,3 +1,5 @@
[[runners]]
[runners.docker]
privileged = true
network_mode = "host"
volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock:rw"]