Windows /节点容器上的GitLab CI / Docker – 未知networkinghttp

我试图运行基本的pipe道,应该使用GitLab CIbuild立我的web项目

我的设置:

  • GitLab CE 10.1.4在Ubuntu 16.04上
  • 带有docker执行程序的Windows 10 1703上的GitLab Runner 10.1.0
  • 在同一台Windows机器上的Docker 17.09.0-ce-win33(13620)

.gitlab-ci.yml:

image: node:latest cache: paths: - node_modules/ build: script: - npm install - npm run build 

我得到这个输出失败的构build:

 Running with gitlab-runner 10.1.0 (c1ecf97f) on ****** (9366a476) Using Docker executor with image node:latest ... Using docker image sha256:4d72396806765f67139745bb91135098acaf23ce7d627e41eb4da9c62e5d6729 for predefined container... Pulling docker image node:latest ... Using docker image node:latest ID=sha256:cf20b9ab2cbc1b6f76e820839ad5f296b4c9a9fd04f3e74651c16ed49943dbc4 for build container... ERROR: Job failed (system failure): dial http: unknown network http 

我以为这个问题可能会发生,因为容器无法访问互联网,但https://hub.docker.com/r/byrnedo/alpine-curl/ curl容器得到的数据,所以我认为情况并非如此。

UPD:当GitLab跑步者尝试附加到容器时发生问题。

问题是在GitLab CIconfiguration(config.toml),docker主机。

host = "http://127.0.0.1:2375" – 错误的一个

应该是host = "tcp://127.0.0.1:2375"