Docker plugin dns config

21 views
Skip to first unread message

Kirk Fitzsimons

unread,
Sep 2, 2024, 5:25:40 AM9/2/24
to Jenkins Developers
Hi,

Is there any option to pass in these dns options that can be passed in to a docker run command via the docker plugin agent template? I can see you can pass in dns server e.g.

- connector: "attach"
        dockerTemplateBase:
          cpuPeriod: 0
          cpuQuota: 0
          dnsHosts:
          - "kirk.internal.ie"
          dnsString: "kirk.internal.ie"

 but dont see and option in the plugin to pass in domain search etc

--dns-search="${DNS_SEARCH}" \
--dns-opt="${DNS_NDOTS}" \

https://github.com/jenkinsci/docker-plugin

Kirk
Reply all
Reply to author
Forward
0 new messages