Re: question on docker plugin

2014-06-13 Thread Nigel Magnay
> > > Also there seems something strange is going on in that it seems to start a > container, and then seem to switch to another container before the build > kicks off. I haven't been able to troubleshoot this behaviour yet but > wonder if something like that is expected? > > ​Yes, there's a few od

Re: question on docker plugin

2014-06-11 Thread Richard Bywater
As an aside, so far with my trial of the plugin there's a couple of things that would be nice to add in - one is to have the option to retain the container if the build fails (so you can jump into it to see if you can find out what was failing), and the other is to be able to pass some more argumen

Re: question on docker plugin

2014-06-11 Thread Nigel Magnay
> The docker plugin deals with images not containers - basically it does a > docker run on the image, and then can, optionally, keep the container at > the end of the run (but cannot be reused in a subsequent job I believe) > > ​It currently always tears down the container at the end of the Jenkins

Re: question on docker plugin

2014-06-10 Thread Richard Bywater
The docker plugin deals with images not containers - basically it does a docker run on the image, and then can, optionally, keep the container at the end of the run (but cannot be reused in a subsequent job I believe) So there should be no issue having parallel jobs running the same or different i

Re: question on docker plugin

2014-06-10 Thread Gallagher Polyn
> > Anyone using the docker plugin ( >> wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin)? >> >> If so, can I address multiple containers on one docker host using the >> plugin, or is the container-to-docker host relationship one to one? >> > On Tue, Jun 10, 2014 at 5:16 PM, Richard Bywater wrot

Re: question on docker plugin

2014-06-10 Thread Richard Bywater
Hi Good timing as I've just been looking at the docker plugin in the last few days! The way I see it, the way the docker plugin works is to add docker as a cloud service provider to dynamically start up a Jenkins slave on-demand. When it starts up the slave it does so using a label that has been

question on docker plugin

2014-06-10 Thread Gallagher Polyn
Anyone using the docker plugin (wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin)? If so, can I address multiple containers on one docker host using the plugin, or is the container-to-docker host relationship one to one? I'm confused about what the master-slave relationship is (or should be)