0

我在 Windows Server 2019,Docker EE 20.10.7 上,运行 gitlabrunner 14.7.0,我得到

Preparing the "docker-windows" executor
00:09
ERROR: Failed to remove network for build
ERROR: Preparation failed: error during connect: This error may indicate that the docker daemon 
is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/info": open 
//./pipe/docker_engine: Zugriff verweigert (docker.go:853:0s)

重新启动 docker 守护程序并从命令行运行一个 docker 命令后,构建运行良好,直到几天后,问题再次出现,我需要重新启动 doke 守护程序并启动一个“docker ps”。几天后它又可以工作了。我的用户在 docker 组 deamon.config 中:

{
"group" : "docker"
}
4

1 回答 1

0

已解决,在同一配置上运行多个 gitlab-runner.exe 实例,这会导致麻烦。

于 2022-02-24T11:05:24.977 回答