how to setup docker dind on kubenetes runner gitlab

Опубликовано: 11 Октябрь 2024
на канале: Zariga Tongy
4,323
41

how to setup docker dind on kubenetes runner gitlab

Add the mountpath and the hostpath

runners:
config: |
[[runners]]
[runners.kubernetes]
image = "ubuntu:20.04"
privileged = true
[[runners.kubernetes.volumes.host_path]]
name = "docker"
mount_path = "/var/run/docker.sock"
read_only = true
host_path = "/var/run/docker.sock"


Visit : https://8gwifi.org
Book : https://leanpub.com/b/9book