Jenkins in Linux VM + Docker related issue - Docker URL http://127.0.0.1:2375 not working

52 views
Skip to first unread message

80Vikram

unread,
Mar 22, 2016, 2:38:59 AM3/22/16
to Jenkins Users
Hi All,

I've linux VM with Jenkins & docker installed.

I logged into Jenkins with Linux sudo user and as per  https://wiki.jenkins-ci.org/display/JENKINS/Docker+build+step+plugin , did the setup

But getting below error

Something went wrong, cannot connect to http://127.0.0.1:2375, cause: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:2375 [/127.0.0.1] failed: Connection refused


Is it better to use "Docker build setup plugin" or run docker commands in Execute shell ?


Thanks & Regards,
Vikram



Reply all
Reply to author
Forward
0 new messages