OS X - how to give permissions to jenkins user to run docker command

僤鯓⒐⒋嵵緔 提交于 2019-12-25 04:29:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!