qemus / qemu-docker

QEMU in a Docker container.
MIT License
388 stars 47 forks source link

[Question]: vnc #573

Closed krofkaenot01 closed 3 weeks ago

krofkaenot01 commented 1 month ago

Is your question not already answered in the FAQ?

Is this a general question and not a technical issue?

Question

Good afternoon! Is it possible to install a VNC server in the container so that we can use a Windows VM through a VNC client instead of a browser? Thank you!

NateChoe1 commented 1 month ago

You can do this by setting the environment variable

environment:
  DISPLAY: "vnc"

and adding a mapping to port 5900

ports:
  - 5900:5900