After installing Docker for Mac and having good experience pulling / running different images, now trying to make this work with my locally installed Jenkins on my mac (with the default slave config).
To repro this issue, su as jenkins on your mac terminal shell:
sudo su jenkins
First thing I needed to do: PATH needed to be set so docker commands could be accessed by the slave:
After this I could run docker (no args) and get the help.
However running the ps command tells me that the daemon is not found…
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
I assume that the Jenkins user is not able to access the daemon on the xhyve VM? I saw some stuff here about adding the jenkins user to a docker group but that seems out of date? Any way to resolve this problem so I can get my local jenkins communicating with the docker daemon?