Docker Jenkins integration

65 views
Skip to first unread message

Rahul Agrawal

unread,
Apr 23, 2015, 6:59:01 AM4/23/15
to jenkins...@googlegroups.com
Hi Guys,

I am new to Docker and I need to integrate Docker iwth jenkins. I have jenkins and docker in two different system, and docker runs on a Windows machine using a virtual box. 
So when I try to establish a connection between Jenkins and docker, it gives me this error "javax.servlet.ServletException: javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: connect timed out at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)".

Kindly suggest some solution.

Thanks & Regards,
Rahul
Capture.PNG

Richard Bywater

unread,
Apr 23, 2015, 7:13:37 AM4/23/15
to jenkins...@googlegroups.com

Is the Virtual Box network interface accessible from the other box?

Richard


--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ad968fbc-1f6f-433e-b3e8-d5022923210c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rahul Agrawal

unread,
Apr 23, 2015, 7:41:30 AM4/23/15
to jenkins...@googlegroups.com
Hi Richard,

The ping requests to from my machin eto docker - vm are failing. I am trying to ping 192.168.59.103.

Rayees Namathponnan

unread,
Apr 23, 2015, 10:07:19 AM4/23/15
to jenkins...@googlegroups.com

Richard Bywater

unread,
Apr 23, 2015, 4:37:22 PM4/23/15
to jenkins...@googlegroups.com
Sorry - was replying from phone so didn't quite get a more fuller featured response.

Is 192.168.59.103 the IP address of the Windows Host machine or the VM that gets spun up on Windows to run Docker in? If its the Windows box you are going to need to port forward to the Docker VM or expose the Docker VM onto the network.

Richard.

Reply all
Reply to author
Forward
0 new messages