Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project runner with dind service unsuccessful #34

Open
jomuench opened this issue May 13, 2022 · 0 comments
Open

project runner with dind service unsuccessful #34

jomuench opened this issue May 13, 2022 · 0 comments

Comments

@jomuench
Copy link

following the example and use a dind service:

1, created and registered a project specific runner with flags
--executor docker --docker-privileged=true --docker-volumes "/certs/client" --docker-volumes /cache
(without --docker-volumes "/var/run/docker.sock:/var/run/docker.sock" because gitlab doc. states this is mounted by service container)

2, in gitlabci.yaml, activated feature flag to support per-job-networking
FF_NETWORK_PER_BUILD: "true"

3, ran pipeline
...
$ kind create cluster --name kind1 --config=./kind/config.yaml --wait 5m
ERROR: failed to create cluster: failed to list nodes: command "docker ps -a --filter label=io.x-k8s.kind.cluster=kind1 --format '{{.Names}}'" failed with error: exit status 1
Command Output: error during connect: Get https://docker:2376/v1.24/containers/json?all=1&filters=%7B%22label%22%3A%7B%22io.x-k8s.kind.cluster%3Dkind1%22%3Atrue%7D%7D: dial tcp: lookup docker on 127.0.0.11:53: no such host

anyone has an idea?
I have no clue how can this be further investigated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant