Rbuild "/dev/kvm": no such file or directory [Solved]

I’ve been trying to setup rbuild on Ubunty Jammy according to https://radxa-doc.github.io/software/build.html

I kept getting the following error even though /dev/kvm was present and my user was in kvm group:

docker: Error response from daemon: error gathering device information while adding custom device “/dev/kvm”: no such file or directory.

The solution turned out to be uninstalling Docker-Desktop and installing the Ubuntu docker.io package as per the instructions.

Hope this helps anyone else as it took me ages to figure out!