dns_search advanced docker option is not working running the build locally
I have the following
concurrent = 2 [[runners]] name = "my-station.local" url = "https://gitlab.mycompany.com/ci" token = "my-very-long-token" executor = "docker" [runners.docker] tls_verify = false image = "registry.mycompany.intra:5000/my-build-image" privileged = false disable_cache = false dns_search = [ "mycompany.intra" ] cache_dir = "/root/.m2/repository" volumes = ["/cache","/tmp/gitlab_ci_cache/.m2/repository:/root/.m2/repository:rw"] [runners.cache] Insecure = false
suppose I have the following host
my-server.mycompany.intra and my application just use
When I run the multi runner as service there's no problem it can resolve
my-server perfectly because of the
dns_search parameter is propagated correctly.
When I run the the build with
gitlab-ci-multi-runner exec docker my-job
it is unable to resolve
Any ideas on why this is happening?