Hi,

I believe you cannot specify any credentials with the docker plugin. So if your 
repository requires authentication (docker hub private repo for example) it 
won't work. 

You can manually pull this image on the docker host though. Not really a good 
solution if you ask me



> Le 21 juin 2016 à 13:44, Marco Pas <[email protected]> a écrit :
> 
> Hi there we are tying to integrate a custom build of a docker Jenkins slave 
> based on https://hub.docker.com/r/evarga/jenkins-slave/. 
> We seem to hit a wall on how to pull these images from ECR into our 
> buildslave nodes.
> 
> We have create a Docker Template which needs to pull the image but we cannot 
> seem to get this working.
> I guess it has something to do with providing the ECR credentials so the 
> Docker Template can be pulled. But I could be wrong.
> 
> Currently when we try to kickoff the job. It just hangs without any feedback 
> on:
> 
>> [Pipeline] node
>> Still waiting to schedule task
>> Waiting for next available executor
> 
> When we try to use the default  'evarga/jenkins-slave:latest' the pull is 
> executed immediatly. Any hints on how we can integrate ECR into the pulling 
> of the Docke buildslave images?
> We have install the ECR plugin but this gives no help.
> 
> Any help is appreciated 
> 
> - Marco
> -- 
> 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/c3348ba6-4e2b-496a-982b-bdf0d3a220bd%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/0FDB8D41-1FA2-4F85-A213-28E8108517F5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to