I’ve Linux VM and have installed Docker on it. Have got jenkins setup on it as well.
When I try to run simple docker commands like
[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 how to make this run with jenkins ?
thanks & regards,