kvm icon indicating copy to clipboard operation
kvm copied to clipboard

VM not working

Open odenisnobre opened this issue 3 years ago • 1 comments

I used the following command:

docker run -p 3391:3389 -td --name kvm34 --privileged -v /var/lib/libvirt/images/image.qcow2:/image/image.qcow2 -e AUTO_ATTACH=y bbvainnotech/kvm:latest

image

I have the following answer:

image

odenisnobre avatar Sep 15 '22 19:09 odenisnobre

Hi, @odenisnobre.

I've tried running your incantation, and noticed that you added an spurious .qcow2 suffix to the image mapping (the /image/image on the right side), which causes an error for me:

2022-09-18T05:11:37.691660Z qemu-kvm: -drive if=virtio,file=/image/image: could not open disk image /image/image: Could not open '/image/image': No such file or directory

If you just drop this suffix, it should work just fine. See the examples on the README for reference.

The message dnsmasq: junk found in command line is harmless, I think, and after reviewing the script I now have an idea of what is causing it and how to fix it (let's just say it's a mild case of backslash overdose :-)).

Hope that it helps!

Happy hacking,

pancho

panchoh avatar Sep 18 '22 05:09 panchoh