docker: command not found ( Mac mini + Jenkins )

2,104 views
Skip to first unread message

80Vikram

unread,
Oct 12, 2016, 12:59:37 PM10/12/16
to Jenkins Users
Hi All,

I've mac mini with 10.X version and am trying to setup jenkins and docker

when I tried running docker command as part of shell commands , getting error docker: command not found

In unix I have to add jenkins user to docker group , not sure if this step needs to be done in mac as well.

I google a lot but didn't find detailed info

Please clarify

Thanks in advance.

Regards,
Vikram

Victor Martinez

unread,
Oct 13, 2016, 11:13:20 AM10/13/16
to Jenkins Users
Environment variables when connecting ssh slaves might be a bit different, as far as I know those ssh connections are not interactive therefore you need to review whether that Docker binary is part of any of the paths of the PATH variable.

There are some references in the below link for instance:

http://unix.stackexchange.com/questions/164779/jenkins-does-not-use-systems-locales

Cheers

80Vikram

unread,
Oct 14, 2016, 6:05:28 AM10/14/16
to Jenkins Users
Thanks Victor.

I got it working as mentioned in below ticket

https://github.com/docker/for-mac/issues/799

Docker documentation wrt Jenkins and Mac setup , hardly has any info.

Regards,
Vikram
Reply all
Reply to author
Forward
0 new messages