BBVA / kvm

Simple Docker KVM container
Apache License 2.0
207 stars 50 forks source link

Add VNC capability #17

Open methadata opened 8 years ago

methadata commented 8 years ago

Try to enable graphical VNC/SPICE capabilities to VMs

lawnz commented 7 years ago

after running the docker command to bring up a Windows kvm image, there is the command: docker run --name kvm -td --privileged -v /var/lib/libvirt/images/vm/win81e64.qcow2:/image/image \ -e AUTO_ATTACH=yes bbva

how can I access the Windows via vnc or remote desktop?

methadata commented 7 years ago

Currently this issue is not implemented yet. However, there are two ways of accessing graphically to you VM container:

  1. Passing parameters to qemu when launching the container (see -vnc options in qemu-kvm manpage)
  2. Connecting via RDP if the VM image has already RDP enabled and gets its IP via DHCP. You should only have to know the VM IP address.

Hope this helps :)