Jenkins job -> docker run hello-world fails with error docker: Cannot connect to the Docker daemon.

101 views
Skip to first unread message

80Vikram

unread,
Mar 22, 2016, 10:56:49 AM3/22/16
to Jenkins Users
Hi All,

I'm trying to setup jenkins on Linux VM

I created a sample job with shell step as docker run hello-world

Job is failing with error as below


[Test-1-2] $ /bin/sh -xe /tmp/hudson643651586166715818.sh
+ docker run hello-world
docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See 'docker run --help'.




If I run this command in command prompt , it works perfectly.

Kindly clarify


Thanks in advance.


Regards,

Vikram

Reply all
Reply to author
Forward
0 new messages