-
Hi, i'm playing around with gitlab runner docker image and trying to have it talk with the docker host engine. docker run -d --name gitlab-runner --restart always \
-v gitlab-runner-config:/etc/gitlab-runner \
-v /Users/myUser/.colima/default/docker.sock:/var/run/docker.sock \
gitlab/gitlab-runner:latest However the runner looks unable to talk with the docker engine for now, ci jobs are failing with : ERROR: Preparation failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (docker.go:754:0s)
Will be retried in 3s ...
ERROR: Failed to remove network for build
ERROR: Preparation failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (docker.go:[7](https://gitlab.com/blah/hello-world/-/jobs/4069024169#L7)54:0s) Just to make sure, I've tried running portainer container which looks unable to talk with the docker host engine as well. Is there something configurable colima side ? My colima status: INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.106.2
INFO[0000] socket: unix:///Users/myUser/.colima/default/docker.sock |
Beta Was this translation helpful? Give feedback.
Answered by
jandubois
Apr 5, 2023
Replies: 1 comment 1 reply
-
This is the location of the socket on the host. You need to forward the location inside the VM, so probably:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
elyrtan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the location of the socket on the host. You need to forward the location inside the VM, so probably: