aerokube / windows-images

Step by step instructions for building Docker images with Windows
Apache License 2.0
221 stars 44 forks source link

How can I make Windows VM's accessible over the network #46

Open bobbybah opened 1 year ago

bobbybah commented 1 year ago

I need to have final docker VM to be accessible from internal network not only from localhost via VNC. How can I do that?

vania-pooh commented 1 year ago

@bobbybah you need to do port forwarding both in qemu and in resulting Docker container.

bobbybah commented 1 year ago

Thanks! Using the command below solve the problem.

sudo docker run -it --rm --privileged  -p Host_IP:5900:5900 myimage
vania-pooh commented 1 year ago

@bobbybah does it solve your issue?