I created multiple container with privileged access, and used Gentoo, Alpine and Arch images for it.
I anticipated the password to be either empty (with login name root) or to be the same as on my local machine. (I am running all of the containers on my laptop, and accessing them from the same laptop)
It does not work, and I don’t know what I am doing wrong.
incus exec NAME bash then you can run passwd to set whatever password you want to use with the console.
In most cases, you don’t/shouldn’t use the console anyway.
The container and VMs images do not have any password set on them by default as that would be quite a security risk for something that may be exposed to the internet.