repo2docker image
Last updated
Last updated
PrimeHub could support notebook images built from tool, if an images had
sudo
installed
jovyan user is 1000
uid
notebook started in Safe Mode
Please install tool, before you get started.
is a tool to simplify building a jupyter-notebook based image without giving a Dockerfile. We could put to make it working with repo2docker.
We will use to show how to make it compatible with PrimeHub
In order to make it work on the PrimeHub, we need to add sudo
package. It needs an file with this content:
After adding sudo, it is time to build an image with jupyter-repo2docker
set user with --user-name jovyan
set user uid with --user-id 1000
configure the docker image tag by --image
If the command will invoke docker to build an image, you could push the image to docker repository and register it on the PrimeHub.
Users should start a notebook built from repo2docker in Safe Mode
, because it might have installed libraries in the $HOME
.