You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Mac环境GitLab私有Runner执行Docker命令失败求助

GitLab Runner 执行Docker任务流水线失败排查

我在Mac上搭建了GitLab Runner并分配了任务,参考相关解决方案后,在.gitlab-ci.yml中尝试了两种配置方案,但流水线都失败了。

尝试的.gitlab-ci.yml配置方案

方案1

image: docker:latest
services:
  - docker:18.09.7-dind

方案2

image:
  name: docker:latest
services:
  - docker:dind
variables:
  DOCKER_DRIVER: overlay2
  DOCKER_TLS_CERTDIR: "/certs"

已配置的Runnerconfig.toml内容

方案1对应配置

privileged = true

方案2对应配置

privileged = true
volumes = ["/certs/client", "/cache"]

请问我是否遗漏了某些配置?

内容的提问来源于stack exchange,提问作者Roy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.17 05:25:07