How to unalias an image in Incus?

If I want to update an alias to point to a new image, how should I do that ? Is there a force option to incus image alias create ? Otherwise, is there an unalias command ? I don’t want to delete the image it’s currently pointing to, just remove the alias.

If the alias already exists, I get an error stating it already exists.

You may be looking for the –reuse option when publishing the new image:

incus publish myinstancename --alias myamazingimage --reuse

:white_question_mark:

incus image alias remove will delete an alias without affecting the image itself.

Thanks, I didn’t notice there was an alias subcommand