PrimeHub could support notebook images built from repo2docker tool, if an images had
- jovyan user is
- notebook started in
Please install repo2docker tool, before you get started.
We will use binder-examples to show how to make it compatible with PrimeHub
git clone https://github.com/binder-examples/tensorboard
In order to make it work on the PrimeHub, we need to add
sudo package. It needs an
apt.txt file with this content:
After adding sudo, it is time to build an image with
- set user with
- set user uid with
- configure the docker image tag by
jupyter-repo2docker --no-run --user-name jovyan --user-id 1000 \ --image infuseai/tensorboard-repo2docker-example .
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