tag:blogger.com,1999:blog-21628438.post6923556956911438732..comments2024-03-27T08:21:58.680+01:00Comments on new Blog( perso );: Docker Slaves Jenkins plugin has been released !Nicolas De Loofhttp://www.blogger.com/profile/01689687514370945173noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-21628438.post-86718593245617493682016-07-17T14:09:40.143+02:002016-07-17T14:09:40.143+02:00To be clearer about my earlier comment: The specif...To be clearer about my earlier comment: The specific console output is below. From within the Jenkins container I can culr to the docker host, for example :-<br /><br />curl -X GET http://192.168.10.12:2375/images/json<br /><br />That successfully returns all of the images on the docker host via its remote API.<br /><br />And, as I mentioned above, if I just use the standard docker plugin and point to a configured Docker Cloud, that works fine too.<br /><br />I have tried on both Jenkins v1.651 and v2.7.1, same behaviour :-(<br /><br />Started by user admin<br />FATAL: null<br />xyz.quoidneufdocker.jenkins.dockerslaves.api.OneShotExecutorProvisioningException<br /> at xyz.quoidneufdocker.jenkins.dockerslaves.api.OneShotSlave.provisionFailed(OneShotSlave.java:146)<br /> at xyz.quoidneufdocker.jenkins.dockerslaves.api.OneShotSlave.provision(OneShotSlave.java:130)<br /> at xyz.quoidneufdocker.jenkins.dockerslaves.api.OneShotSlave.createLauncher(OneShotSlave.java:155)<br /> at xyz.quoidneufdocker.jenkins.dockerslaves.DockerSlave.createLauncher(DockerSlave.java:90)<br /> at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:561)<br /> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)<br /> at hudson.model.Run.execute(Run.java:1741)<br /> at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)<br /> at hudson.model.ResourceController.execute(ResourceController.java:98)<br /> at hudson.model.Executor.run(Executor.java:410)<br />Finished: FAILUREAnonymoushttps://www.blogger.com/profile/03307071851445570908noreply@blogger.comtag:blogger.com,1999:blog-21628438.post-12516152512314865722016-07-16T23:27:26.720+02:002016-07-16T23:27:26.720+02:00I am running Jenkins inside a container and want t...I am running Jenkins inside a container and want to use this plugin. However when I do it it doesn't appear to find the docker host. In the Jenkins global config I set the URL to my docker host as http://192.168.10.12:2375, and to be sure also set the environment variable DOCKER_HOST to the same value, but no luck. I know the host can be reached because I am using the same Jenkins instance with a configured Cloud and Template. The test of the connection is successful and when referencing the label for this a build job a container is launched and the job run (I'm using the jenkins-slave image that Max Stewart at RiotGames covers in his tutorial series).<br /><br />So I must be missing the correct configuration for the docker host in Jenkins somewhere. Can you describe how to do this please.<br /><br />Kind Regards<br /><br />Fraser.Anonymoushttps://www.blogger.com/profile/03307071851445570908noreply@blogger.com