如何将Binder(mybinder.org)与私有Github存储库一起使用? [英] How can one use Binder (mybinder.org) with private Github repositories?

查看:615
本文介绍了如何将Binder(mybinder.org)与私有Github存储库一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在审查了此确切问题后( https://github.com/jupyterhub/binderhub/issues/237 )似乎已通过合并的合并请求实现了此功能( https ://github.com/jupyterhub/binderhub/pull/671 ).

After reviewing this exact issue (https://github.com/jupyterhub/binderhub/issues/237) it seems that the functionality for this has been implemented with this merged pull request (https://github.com/jupyterhub/binderhub/pull/671).

但是我似乎在文档或其他地方找不到指导,该指南解释了应将什么内容放入secrets.yml文件,或者是否需要其他步骤才能将Binder与私有Github存储库结合使用(如果我错过了很明显-此处完整的Binder noobie)

However I can not seem to find guidance in the docs or elsewhere which explains what should go into the secrets.yml file or if there are other steps required in order to use Binder with private Github repos (Apologies if I have missed the obvious -- complete Binder noobie here)

链接到原始问题中的同一问题: https://github.com. com/jupyterhub/binderhub/issues/237#issuecomment-462711995

Link to my same question in the original issue: https://github.com/jupyterhub/binderhub/issues/237#issuecomment-462711995

推荐答案

OP问题中的活页夹(mybinder.org)"部分实际上是指两件事.
MyBinder.org是公共的BinderHub.引用的问题通常是指Binderhub,即OP的问题.他们已经进行了设置,并记录了如何在私有托管的Binderhub上启用私有Github存储库的方法,而不是通过MyBinder.org .在此处中查看文档供私人回购访问引用的更改".
引用的问题中的讨论说,他们不允许MyBinder.org这样做

The 'Binder (mybinder.org)' part of the OP's question actually refers to two things.
MyBinder.org is a public BinderHub. The issue referenced is referring to Binderhubs in general, i.e., the 'Binder' part of the OP's question. They have set it up and documented how to enable working with private Github repositories on privately-hosted Binderhubs not via MyBinder.org. See the changes referenced by 'docs for private repo access' here.
The discussion in the issue referenced says they won't be allowing that for MyBinder.org.

要访问私有存储库,您可以部署 BinderHub ,该软件为mybinder提供支持.org自己,还是使用 repo2docker ,该工具可将存储库转换为Docker映像如果您只想在本地使用它而不是运行服务,它将在Jupyter上运行.

For access to private repos, you can deploy BinderHub, the software that powers mybinder.org, yourself, or use repo2docker, the tool that turns a repository into a Docker image that will run on Jupyter if you only want to use it locally instead of running a service.

这篇关于如何将Binder(mybinder.org)与私有Github存储库一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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