Add Image
This quickstart shows how we add an image on PrimeHub so that users can choose it on Spawner
page on PrimeHub. If you haven't built any custom image, here is the [quickstart] build image. Here we are going to add that custom image which is installed with fastai v1 library
on PrimeHub.
Steps
Goes to
Admin Dashboard
from the portal andImages
management.Click
+ Add
for adding an image spec.Fill
Name
withgcr-fastai-v1
.Select
Type
cpu
.Fill
Container image url
with the url of our custom image. E.g.gcr.io/infuseai/fastai-v1:1d1bxxxx
Since we put our image on
Google Container Registry
(It varies according to your real circumstance.), it requires a pull-secret to pull down the image, we check offUsage Image Pull Secret
and select the rightsecret
.Enable
Global
to make it available to all of users.Click
Confirm
to save the setting.
Now users can select this custom image on the Spawner
page, once the jupyterhub is launched, we can check the fastai
library version in a notebook.