• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

repo2docker: jupyter-repo2docker 将存储库源(例如 GitHub、Gitee 存储库)作为输入 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

repo2docker

开源软件地址:

https://gitee.com/mirrors/repo2docker

开源软件介绍:

repo2docker

Build StatusDocumentation StatusContributeDocker Repository on Quay

repo2docker fetches a git repository and builds a container image based onthe configuration files found in the repository.

See the repo2docker documentationfor more information on using repo2docker.

For support questions please search or post to https://discourse.jupyter.org/c/binder.

See the contributing guide for information on contributing torepo2docker.


Please note that this repository is participating in a study into sustainabilityof open source projects. Data will be gathered about this repository forapproximately the next 12 months, starting from 2021-06-11.

Data collected will include number of contributors, number of PRs, time taken toclose/merge these PRs, and issues closed.

For more information, please visitour informational page or download our participant information sheet.


Using repo2docker

Prerequisites

  1. Docker to build & run the repositories. The community editionis recommended.
  2. Python 3.6+.

Supported on Linux and macOS. See documentation note about Windows support.

Installation

This a quick guide to installing repo2docker, see our documentation for a full guide.

To install from PyPI:

pip install jupyter-repo2docker

To install from source:

git clone https://github.com/jupyterhub/repo2docker.gitcd repo2dockerpip install -e .

Usage

The core feature of repo2docker is to fetch a git repository (from GitHub or locally),build a container image based on the specifications found in the repository &optionally launch the container that you can use to explore the repository.

Note that Docker needs to be running on your machine for this to work.

Example:

jupyter-repo2docker https://github.com/norvig/pytudes

After building (it might take a while!), it should output in your terminalsomething like:

    Copy/paste this URL into your browser when you connect for the first time,    to login with a token:        http://0.0.0.0:36511/?token=f94f8fabb92e22f5bfab116c382b4707fc2cade56ad1ace0

If you copy paste that URL into your browser you will see a Jupyter Notebookwith the contents of the repository you had just built!

For more information on how to use repo2docker, see theusage guide.

Repository specifications

Repo2Docker looks for configuration files in the source repository todetermine how the Docker image should be built. For a list of the configurationfiles that repo2docker can use, see thecomplete list of configuration files.

The philosophy of repo2docker is inspired byHeroku Build Packs.

Docker Image

Repo2Docker can be run inside a Docker container if access to the Docker Daemon is provided, for example see BinderHub. Docker images are published to quay.io. The old Docker Hub image is no longer supported.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
lnmp: LEMP stack/LAMP stack/LNMP stack installation scripts for CentOS/Redhat D ...发布时间:2022-03-25
下一篇:
bubbo: 自研分布式框架发布时间:2022-03-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap