Gitlab CI /var/run/docker.sock:写入:损坏的pipe道

试图build立一个跑步者,并提出这个问题:

Running with gitlab-ci-multi-runner 1.10.4 (b32125f) Using Docker executor with image php:5.6 ... ERROR: Failed to create container volume for /builds/ppw write unix @->/var/run/docker.sock: write: broken pipe ERROR: Preparation failed: write unix @->/var/run/docker.sock: write: broken pipe Will be retried in 3s ... Using Docker executor with image php:5.6 ... ERROR: Failed to create container volume for /builds/ppw write unix @->/var/run/docker.sock: write: broken pipe ERROR: Preparation failed: write unix @->/var/run/docker.sock: write: broken pipe Will be retried in 3s ... Using Docker executor with image php:5.6 ... ERROR: Failed to create container volume for /builds/ppw write unix @->/var/run/docker.sock: write: broken pipe ERROR: Preparation failed: write unix @->/var/run/docker.sock: write: broken pipe Will be retried in 3s ... ERROR: Build failed (system failure): write unix @->/var/run/docker.sock: write: broken pipe 

我已经尝试降级gitlab-ci-multi-runner但是我仍然有同样的问题 – broken pipe

系统正在运行:Ubuntu 16.04.1 LTS

我的.gitlab-ci.yml

 before_script: # Install dependencies - bash ci/docker_install.sh > /dev/null # We test PHP5.6 test:5.6: image: php:5.6 script: - phpunit --configuration phpunit_myapp.xml # We test PHP7.0 test:7.0: image: php:7.0 script: - phpunit --configuration phpunit_myapp.xml 

我的ci / docker_install.sh

 #!/bin/bash # We need to install dependencies only for Docker [[ ! -e /.dockerenv ]] && exit 0 set -xe # Install git (the php image doesn't have it) which is required by composer apt-get update -yqq apt-get install git -yqq # Install phpunit, the tool that we will use for testing curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar chmod +x /usr/local/bin/phpunit 

任何帮助将不胜感激,我已经试过在这里读: GitlabCI构build失败,docker.sock:写:破pipe道

当我做docker ps我没有任何容器列出。

 $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES