Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM not working #39

Open
odenisnobre opened this issue Sep 15, 2022 · 1 comment
Open

VM not working #39

odenisnobre opened this issue Sep 15, 2022 · 1 comment

Comments

@odenisnobre
Copy link

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

@panchoh
Copy link
Contributor

panchoh commented Sep 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants