-
Notifications
You must be signed in to change notification settings - Fork 42
Description
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?