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 Dashboardfrom the portal andImagesmanagement.Click
+ Addfor adding an image spec.Fill
Namewithgcr-fastai-v1.Select
Typecpu.Fill
Container image urlwith the url of our custom image. E.g.gcr.io/infuseai/fastai-v1:1d1bxxxxSince 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 Secretand select the rightsecret.Enable
Globalto make it available to all of users.Click
Confirmto 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.
