ma-cli image Commands for Building Images
The ma-cli image command can be used to query registered images, query or load image build templates, register or deregister images, and debug whether images can be used in notebook instances. For details, run the ma-cli image -h command.
Commands for Creating an Image
$ ma-cli image -h Usage: ma-cli image [OPTIONS] COMMAND [ARGS]... Obtain registered images, register or unregister images, debug images, and create images in Notebook. Options: -H, -h, --help Show this message and exit. Commands: add-template, at List build-in dockerfile templates. build Build docker image in Notebook. debug Debug SWR image as a Notebook in ECS. df Query disk usage. get-image, gi Query registered image in ModelArts. get-template, gt List build-in dockerfile templates. prune Prune image build cache. register Register image to ModelArts. unregister Unregister image from ModelArts.
| Command | Description |
|---|---|
| get-template | Obtain an image creation template. |
| add-template | Load an image creation template. |
| get-image | Obtain registered ModelArts images. |
| register | Register SWR images with ModelArts image management. |
| unregister | Deregister a registered image from ModelArts image management. |
| debug | Debug an SWR image on an ECS to check whether the image can be used in ModelArts notebook. (Only the ECSs with Docker installed can be used.) |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot




