Build Image
This quickstart shows how to build a custom image by the feature of Image Builder
. Here we are going to build an image with fastai v1 library for PyTorch provided by Fast.ai based on the Jupyter base-notebook. Fast.ai is a well-known for free online A.I. courses, please check its site if any interest.
Steps
Goes to
Admin Dashboard
from the portal andImage Builder
management.Click
+ Add
for adding a custom image spec.Fill
Name
withfastai-v1
(or other name you like).Fill
Base Image
withjupyter/base-notebook
.Don't check off
Use Image PullSecret
, a pull-secret is unnecessary since it is a public repository.Fill
Conda
field with-c pytorch -c fastai fastai
[REF](Due to the full command is
conda install -c pytorch -c fastai fastai
).(Optional) Fill
APT
field withvim
(or other tools).(Due to base image is
Ubuntu
base,APT
is its package management tool.)Click
Confirm
to save the custom image spec.A job is created with the pending status until the image-build job is triggered.
Once the status of job turns into
Succeeded
, we can copy the url of image for adding the image later onImages
management so that users are able to use this image with built-in fastai v1 library. (The url varies according to your circumstance.)
Alright, we have built our image successfully and gain the url of it. Next, go to [quickstart] add image to see how we add the image to be available for users on PrimeHub.