Incus rebuild Command cannot be used

incus rebuild <image_name> <instance_name>
For example “incus rebuild centos9 test13”
I specify different images to reconstruct, and all prompts when executing
Error: Image not found

What does “incus image list” show?

Did you mean something like “incus rebuild images:centos/9-Stream test13”?

I specify different images to reconstruct, and all prompts when executing

What do you mean by “all prompts?” Can you show the screen transcript with the command(s) you typed and the prompt(s) you got?

Thank you very much, mainly because I don’t understand the format of this command

Did the command with images: work then?

images:foo fetches the image called “foo” on the remote called “images”.

incus remote list shows all the remotes configured in your client. By default, images is https://images.linuxcontainers.org

To find a particular image, I used incus image list images: centos which shows all images on the images remote with “centos” in their name (alias)

incus image list local: shows the images that you have cached locally on your own server.

incus image list normally does the same, since local: is usually the default remote used in commands that don’t specify a remote, unless you’ve changed it using incus remote switch

Yes, it works.