How can one use Binder (mybinder.org) with private Github repositories?

匆匆过客 提交于 2020-03-17 11:24:30

问题


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).

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)

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


回答1:


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.

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.



来源:https://stackoverflow.com/questions/54648514/how-can-one-use-binder-mybinder-org-with-private-github-repositories

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