小编Muh*_*diq的帖子

Gitlab Runner Docker 登录在连接期间无法正常工作错误:Post http://docker:2375/v1.40/auth: dial tcp: Lookup docker on 67.207.67.3:53

我在 gitlab runner 上使用 docker executor 作为我正在使用的图像,但docker:stable 收到此错误:

$ docker login gitlab.mydomain.com:5050 -u myusername-p mytoken
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
error during connect: Post http://docker:2375/v1.40/auth: dial tcp: lookup docker on 67.207.67.3:53: no such host
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
Run Code Online (Sandbox Code Playgroud)

这是我的config.toml

concurrent = 1
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "dev-env"
  url = "https://gitlab.mydomain.com/"
  token = "REDACTED"
  executor = "docker" …
Run Code Online (Sandbox Code Playgroud)

continuous-integration gitlab docker gitlab-ci cicd

11
推荐指数
2
解决办法
2万
查看次数

标签 统计

cicd ×1

continuous-integration ×1

docker ×1

gitlab ×1

gitlab-ci ×1