Re: Jenkins + Docker on Atomic Host

2016-02-22 Thread Rishabh Das
In jenkins logs I can see: Feb 23, 2016 6:18:00 AM com.nirima.jenkins.plugins.docker.DockerCloud$1 call SEVERE: Error in provisioning; template='DockerTemplate{configVersion=2, labelString='jenkins-git', launcher=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher@3969d03c, remote

Re: Jenkins + Docker on Atomic Host

2016-02-22 Thread Rishabh Das
It returns the same with every image. I also tried following the Jenkins Docker plugin page documentation on creating a docker image and adding it to Jenkins. Jenkins still returns with 'Label serviced by no nodes and 1 cloud'. On Fri, Feb 19, 2016 at 1:33 PM, Baptiste Mathus wrote: > Being able

Re: Jenkins + Docker on Atomic Host

2016-02-19 Thread Baptiste Mathus
Being able to connect to the docker host is one thing, but it's unrelated to the image you define for use. Did you did for example install and configure sshd in that image? Le 19 févr. 2016 7:35 AM, "Rishabh Das" a écrit : > I used the fedora base image. I created a docker file which uses the > F

Re: Jenkins + Docker on Atomic Host

2016-02-18 Thread Rishabh Das
I used the fedora base image. I created a docker file which uses the Fedora image, adds Jenkins public key to authorized_keys in the container. I added the same in credentials in Jenkins. test connection for the Atomic host is successful. It returns the version number. Attached are 2 screenshots o

Re: Jenkins + Docker on Atomic Host

2016-02-18 Thread Baptiste Mathus
Which image did you use for the docker provisioned agents? Did you configure the authentication? Also: nothing in the logs while waiting? Le 17 févr. 2016 12:49 PM, "Rishabh Das" a écrit : > Hi, > > I was trying to configure a Jenkins job to spin a docker container on the > Atomic Host. I confi

Re: Jenkins + Docker on Atomic Host

2016-02-18 Thread Rishabh Das
Anyone facing similar issue ? On Wed, Feb 17, 2016 at 5:19 PM, Rishabh Das wrote: > Hi, > > I was trying to configure a Jenkins job to spin a docker container on the > Atomic Host. I configured Jenkins Docker plugin and added a Docker cloud > and a Docker template for the image to be used. > I

Jenkins + Docker on Atomic Host

2016-02-17 Thread Rishabh Das
Hi, I was trying to configure a Jenkins job to spin a docker container on the Atomic Host. I configured Jenkins Docker plugin and added a Docker cloud and a Docker template for the image to be used. I attached a label to the docker image. While selecting 'Restrict where the project can be run' in