Jenkins : Docker tool configuration over Jenkins slaves

Hi,

I'm using docker-commons-plugin v.1.13 and jenkins v.1.121.3

I have several ubuntu (16.04) slaves connected to my jenkins.


My goal is to configure Docker as a global tool, i.e be able to run docker commands without having any docker pkgs on my slaves.

I configured  the docker-commons-plugin and add it as it written at the GitHub README, but the only thing I able to do is $docker version

Any attempt to make something practical (i.e. docker build/run/push/...) is over with the following error:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?



Once again, I do no want to install the docker pkg over my slaves, but only use the docker tool.

What can I do?


Thanks!