You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a bunch of flaky gradle DSL to do what your plugin does, and I'm hoping to delete it all.
But I'm not getting very far. How do I customize docker options, for instance change the docker host to localhost:2376, or set the network mode to host, so the whole build can run within a Jenkins docker container?
The text was updated successfully, but these errors were encountered:
Hi @jkellyinsf 🙂
Sorry for late response. Currently plugin doesn't expose the DSL for the docker options configuration. Luckily the library plugin uses for the interaction with docker have planty of configuration options. You can take a look at the its README here: https://github.com/docker-java/docker-java#configuration . Basically you can control the config via env vars, system properties, or some *.properties files, so you should be able to find something that suites your use case.
I hope it helps 🙂 and thanks for your feedback I'll try to introduce some configuration options for docker connection in future releases.
I wrote a bunch of flaky gradle DSL to do what your plugin does, and I'm hoping to delete it all.
But I'm not getting very far. How do I customize docker options, for instance change the docker host to localhost:2376, or set the network mode to host, so the whole build can run within a Jenkins docker container?
The text was updated successfully, but these errors were encountered: