Deregistering a Registered Image from ModelArts Image Management
Run the ma-cli image unregister command to deregister a registered image from ModelArts.
$ ma-cli image unregister -h Usage: ma-cli image unregister [OPTIONS] Unregister image from ModelArts. Example: # Unregister image ma-cli image unregister --image-id=xx # Unregister image and delete it from swr ma-cli image unregister --image-id=xx -d Options: -i, --image-id TEXT Unregister image details by image id. [required] -d, --delete-swr-image Delete the image from swr. -C, --config-file PATH Configure file path for authorization. -D, --debug Debug Mode. Shows full stack trace when error occurs. -P, --profile TEXT CLI connection profile to use. The default profile is "DEFAULT". -h, -H, --help Show this message and exit.
|
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
|
-i / -image-id |
String |
Yes |
ID of the image to be deregistered |
|
-d / --delete-swr-image |
Bool |
No |
Whether to delete a deregistered SWR image. This function is disabled by default. |
Examples
Deregister a registered image from ModelArts image management.
ma-cli image unregister --image-id=xx

Last Article: Registering SWR Images with ModelArts Image Management
Next Article: Debugging an SWR Image on an ECS
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.