问题
In Unix , I've to add jenkins user to Docker group explicitly so that I can run docker commands through shell step.
I couldn't find answer about how to achieve same on OS X ( mac mini 2012 ).
Thanks in advance.
Regards, Vikram
回答1:
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.
First add jenkins user to staff group and give this group required permission to run docker commands
来源:https://stackoverflow.com/questions/40007657/os-x-how-to-give-permissions-to-jenkins-user-to-run-docker-command