On 19/05/17 17:52, Alex Domoradov wrote:
> Not sure what do you mean by "By default Jenkins supposes to be able
> to  start docker containers on the same host as itself,".
> Because we are using Jenkins with AWS ECS cluster without any
> problems. And our slave nodes are different EC2 instances from master
> node.
I found the solution ;) To receive smart answers one need to ask smart
questions... My approach was not correct so I asked wrong question. I
actually meant docker setup for Pipelines... To prevent any job running
on the master itself, one need to put 0 to the filed 'Number of
executors' in the master node config. And, if the Docker Pipeline plugin
is installed, the agent on the node simply calls local docker and does
not need any additional configuration but to put jenkins user into the
docker group and correct permission to allow jenkins access to docker's
socket.

Thanks anyway!
Cheers,
Kirill

-- 
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/52d1fc94-2013-e748-249a-2039a52738f0%40paranoid.email.
For more options, visit https://groups.google.com/d/optout.

Reply via email to