Step 2 Registering a New Image
After an image is debugged, register it with ModelArts image management so that the image can be used in ModelArts.
Use either of the following methods to register the image with ModelArts:
- Method 1: Run the ma-cli image register command to register an image. Then, the information of the registered image is returned, including image ID and name, as shown in the following figure. For more information, see Registering SWR Images with ModelArts Image Management.
ma-cli image register --swr-path=swr.ap-southeast-1.myhuaweicloud.com/notebook-test/my_image:0.0.1 -P XXX
Figure 1 Registered image
- Method 2: Register the image on the ModelArts management console.
Log in to the ModelArts management console. In the navigation pane on the left, select Image Management. The Image Management page is displayed.
- Click Register. Paste the complete SWR address or click to select a private image from SWR for registration.
- Select the architecture and type based on the site requirements. The architecture and type must be the same as those of the image source.
Feedback
Was this page helpful?
Provide feedbackThank 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