aerokube / windows-images

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

Run virtual machine and install #18

Closed szakika10 closed 4 years ago

szakika10 commented 4 years ago

Hi, when i run this:

sudo qemu-system-x86_64 -enable-kvm \ -machine q35 -smp sockets=1,cores=1,threads=2 -m 2048 \ -usb -device usb-kbd -device usb-tablet -rtc base=localtime \ -net nic,model=virtio -net user,hostfwd=tcp::4444-:4444 \ -drive file=hdd.img,media=disk,if=virtio \ -drive file=Win10_1809Oct_English_x32.iso,media=cdrom \ -drive file=virtio-win-0.1.141.iso,media=cdrom

i get this response: qemu-system-x86_64: -net user,hostfwd=tcp::4444-:4444: Could not set up host forwarding rule 'tcp::4444-:4444'

Why ? What's the problem?

vania-pooh commented 4 years ago

@szakika10 couldn't you have a Selenium server already listening on port 4444? If you have Selenium server, Selenoid or Selenium Grid just stop it.

szakika10 commented 4 years ago

Thx, something was listening on this port.

vania-pooh commented 4 years ago

@szakika10 closing then?

szakika10 commented 4 years ago

Of course