conf.toml添加
[[runners.kubernetes.volumes.host_path]] name = "docker" mount_path = "/var/run/docker.sock" read_only = false host_path = "/var/run/docker.sock"