jupyter-repo2docker¶
jupyter-repo2docker is a tool to build, run, and push Docker
images from source code repositories.
repo2docker fetches a repository
(from GitHub, GitLab, Zenodo, a Git repository or a local directory)
and builds a container image in which the code can be executed.
The image build process is based on the configuration files found in the repository.
repo2docker can be
used to explore a repository locally by building and executing the
constructed image of the repository, or as a means of building images that
are pushed to a Docker registry.
repo2docker is the tool used by BinderHub
to build images on demand.
Please report Bugs, ask questions or contribute to the project.
Getting started with repo2docker
- Installing
repo2docker - Using
repo2docker - Frequently Asked Questions (FAQ)
- How should I specify another version of Python?
- What versions of Python (or R or Julia…) are supported?
- Why is my repository is failing to build with
ResolvePackageNotFound? - Can I add executable files to the user’s PATH?
- How do I set environment variables?
- Can I use repo2docker to bootstrap my own Dockerfile?
- Can I use repo2docker to edit a local host repository within a Docker environment?
- Why is my R shiny app not launching?
- Why does repo2docker need to exist? Why not use tool like source2image?
How-To guides
Complete list of configuration files
- Configuration Files
environment.yml- Install a Python environmentPipfileand/orPipfile.lock- Install a Python environmentrequirements.txt- Install a Python environmentsetup.py- Install Python packagesProject.toml- Install a Julia environmentREQUIRE- Install a Julia environment (legacy)install.R- Install an R/RStudio environmentapt.txt- Install packages with apt-getDESCRIPTION- Install an R packagemanifest.xml- Install StencilapostBuild- Run code after installing the environmentstart- Run code before the user sessions startsruntime.txt- Specifying runtimesdefault.nix- the nix package managerDockerfile- Advanced environments
- The Reproducible Execution Environment Specification