Open markfoodyburton opened 3 years ago
Last week, I had an issue with a Could not resolve host
message in a Gitlab runner job.
Solved using https://forum.yunohost.org/t/solved-gitlab-runner-could-not-resolve-host-my-domain-ltd/12619
The issue appeared this week again.
Solved using the addition of network_mode = "host"
in the [runners.docker]
section of /etc/gitlab-runner/config.toml
I have had to add
network_mode = "host"
to /etc/gitlab-runner/config.toml to get networking to work within the docker used as the runner.I think this can be enabled in the configuration step with a --docker-network-mode switch, but I am unclear yet why this is necessary (and if it's only my case, or in all cases?)