That doesn't really work as I haven't got docker or have no intention of 
running docker on the node of the jenkins master. So is there a way to use 
a remote docker machine or no?

On Saturday, 2 September 2017 00:00:25 UTC+1, Reza Etezal wrote:
>
> You need to either set it in the Global Tool Confoguration, at the system 
> level https://<jenkins URL>/configureTools/, or in the Tool Location at the 
> node level https://<jenkins URL>/computer/<node name>/configure
>
>
> On Friday, September 1, 2017 at 6:40:32 PM UTC-4, Peter Teichner wrote:
>>
>> I've got a quick question: when using declarative pipeline with the agent 
>> specified as a docker image how does the pipeline determine where the 
>> docker executable is? Is there a way to set a remote docker over TCP?
>>
>> agent {
>>     docker {
>>         image 'maven:3-alpine'
>>         label 'my-defined-label'
>>         args  '-v /tmp:/tmp'
>>     }
>> }
>>
>> I use CoreOS for all the Docker related stuff and I haven't got Docker 
>> running on the Jenkins master.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/346beadc-4834-49ba-a6f1-0c91e482e13c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to