OS X-如何授予jenkins用户运行docker命令的权限 [英] OS X - how to give permissions to jenkins user to run docker command

查看:284
本文介绍了OS X-如何授予jenkins用户运行docker命令的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Unix中,我必须将jenkins用户显式添加到Docker组中,以便可以通过shell步骤运行docker命令.

In Unix , I've to add jenkins user to Docker group explicitly so that I can run docker commands through shell step.

我找不到有关如何在OS X(mac mini 2012)上实现相同目标的答案.

I couldn't find answer about how to achieve same on OS X ( mac mini 2012 ).

谢谢.

关于, 维克拉姆

推荐答案

我按照票证中的说明操作了

I got it working as mentioned in below ticket

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

关于Jenkins和Mac安装程序的Docker文档,几乎没有任何信息.

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

首先将jenkins用户添加到人员组,并授予该组运行docker命令所需的权限

First add jenkins user to staff group and give this group required permission to run docker commands

这篇关于OS X-如何授予jenkins用户运行docker命令的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆