I am using the
gitlab/gitlab-runner Docker image on an ArchLinux host. I have run it binding the host docker socket into the client. I get this error when using the runner:
gitlab-ci-multi-runner 1.1.2 (78b3f82) Using Docker executor with image gitlab/dind ... ERROR: Failed to create container volume for /cache Asset prebuilt.tar.gz not found ERROR: Failed to create container volume for /builds/meridian Asset prebuilt.tar.gz not found ERROR: Build failed: Asset prebuilt.tar.gz not found
For reference here’s the exact Docker command I’m using:
docker run -d --name gitlab-runner --restart always -v /etc/gitlab-runner:/etc/gitlab-runner -v /var/run/docker.sock:/var/run/docker.sock gitlab/gitlab-runner:latest
What’s the cause and how can I fix it? I was previously using the AUR build of Gitlab CI Multi Runner without it being inside of Docker but the PKGBUILD doesn’t seem to make the prebuilt.tar.gz so I figured the Docker image would have it right, but still it’s not working.