Open bugbounted opened 2 years ago
Seems like you have trouble accessing KVM module. You can check if it's available in your system using kvm-ok
command.
INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used this means can't be used this project ?
I suppose you can still try enabling KVM. I don't know on what hypervisor you're running that VM but if it's QEMU, KVM should work in guest OS out of the box, if you configure CPU model as host
.
Also you can check if you need to make changes into your BIOS settings by running this: lscpu | egrep 'Arch|On-Line|Vend|Virt' && echo "" && egrep -w -o 'vmx|ept|svm|npt|ssse3' /proc/cpuinfo | sort | uniq
. For the supported AMD/Intel CPU (with appropriate VT features in BIOS enabled) output should look like this:
AMD:
efim@DESKTOP-PSEQ17Q:~$ lscpu | egrep 'Arch|On-Line|Vend|Virt' && echo "" && egrep -w -o 'vmx|ept|svm|npt|ssse3' /proc/cpuinfo | sort | uniq
Architecture: x86_64
Vendor ID: AuthenticAMD
Virtualization: AMD-V
Virtualization type: full
npt
ssse3
svm
Intel:
efim@ubnt-srv:~$ lscpu | egrep 'Arch|On-Line|Vend|Virt' && echo "" && egrep -w -o 'vmx|ept|svm|npt|ssse3' /proc/cpuinfo | sort | uniq
Architecture: x86_64
Vendor ID: GenuineIntel
Virtualization: VT-x
Virtualization type: full
ept
ssse3
vmx
root@server-virtual-machine:~/win10/windows10-in-docker# docker-compose up Pulling novnc (theasp/novnc:latest)... latest: Pulling from theasp/novnc 6c33745f49b4: Pull complete 0151b536048f: Pull complete 1da4ef8ba156: Pull complete Digest: sha256:cd5210a86611bc2dc3ea6eb96a2bfe91237983f8fbc1ab02175142e63e461c40 Status: Downloaded newer image for theasp/novnc:latest Pulling win10 (sethwals/windows10-in-docker:)... latest: Pulling from sethwals/windows10-in-docker d7bfe07ed847: Pull complete f59a9045bc1f: Pull complete 6066c7bd866a: Pull complete 4f4fb700ef54: Pull complete 6ef5a7bd8327: Pull complete 47df31667d33: Pull complete e442cf740bf8: Pull complete 143c3ff37b2a: Pull complete 9b4b8617cb22: Pull complete 9ebd225ba4f1: Pull complete dc038d353097: Pull complete 0e6998790a9e: Pull complete dd8c9776a814: Pull complete 0caa2143f301: Pull complete b3e030016226: Pull complete Digest: sha256:447e556089afd97bf8c506b43742cdffced41579e768ce5a48755fa4ddcc1628 Status: Downloaded newer image for sethwals/windows10-in-docker:latest Creating windows10-in-docker_novnc_1 ... done Creating windows10-in-docker_win10_1 ... done Attaching to windows10-in-docker_novnc_1, windows10-in-docker_win10_1 novnc_1 | + RUN_FLUXBOX=no novnc_1 | + RUN_XTERM=no novnc_1 | + case $RUN_FLUXBOX in novnc_1 | + rm -f /app/conf.d/fluxbox.conf novnc_1 | + case $RUN_XTERM in novnc_1 | + rm -f /app/conf.d/xterm.conf novnc_1 | + exec supervisord -c /app/supervisord.conf novnc_1 | 2022-06-29 17:19:51,708 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. novnc_1 | 2022-06-29 17:19:51,708 INFO Included extra file "/app/conf.d/websockify.conf" during parsing novnc_1 | 2022-06-29 17:19:51,708 INFO Included extra file "/app/conf.d/x11vnc.conf" during parsing novnc_1 | 2022-06-29 17:19:51,708 INFO Included extra file "/app/conf.d/xvfb.conf" during parsing novnc_1 | 2022-06-29 17:19:51,711 INFO supervisord started with pid 1 win10_1 | --2022-06-29 17:19:51-- https://git.efimio.ru/efim/windows10-in-docker/raw/branch/master/isoCheck.ps1 win10_1 | Resolving git.efimio.ru (git.efimio.ru)... 151.0.14.124 win10_1 | Connecting to git.efimio.ru (git.efimio.ru)|151.0.14.124|:443... connected. win10_1 | HTTP request sent, awaiting response... 200 OK win10_1 | Length: 394 [text/plain] win10_1 | Saving to: 'isoCheck.ps1.8' win10_1 | win10_1 | 0K 100% 85.5M=0s win10_1 | win10_1 | 2022-06-29 17:19:52 (85.5 MB/s) - 'isoCheck.ps1.8' saved [394/394] win10_1 | win10_1 | --2022-06-29 17:19:52-- https://git.efimio.ru/efim/windows10-in-docker/raw/branch/master/launchNoVNC.sh win10_1 | Resolving git.efimio.ru (git.efimio.ru)... 151.0.14.124 win10_1 | Connecting to git.efimio.ru (git.efimio.ru)|151.0.14.124|:443... connected. win10_1 | HTTP request sent, awaiting response... 200 OK win10_1 | Length: 65 [text/plain] win10_1 | Saving to: 'launchNoVNC.sh.8' win10_1 | win10_1 | 0K 100% 13.8M=0s win10_1 | win10_1 | 2022-06-29 17:19:52 (13.8 MB/s) - 'launchNoVNC.sh.8' saved [65/65] win10_1 | novnc_1 | 2022-06-29 17:19:52,713 INFO spawned: 'websockify' with pid 11 novnc_1 | 2022-06-29 17:19:52,715 INFO spawned: 'xvfb' with pid 12 novnc_1 | 2022-06-29 17:19:52,716 INFO spawned: 'x11vnc' with pid 13 win10_1 | [06/29/2022 17:19:53] ISO present. Skipping! win10_1 | Warning: could not find self.pem win10_1 | The path /home/windows10/noVNC-1.3.0/utils/websockify exists, but /home/windows10/noVNC-1.3.0/utils/websockify/run either does not exist or is not executable. win10_1 | If you intended to use an installed websockify package, please remove /home/windows10/noVNC-1.3.0/utils/websockify. win10_1 | win10_1 | Could not access KVM kernel module: No such file or directory win10_1 | qemu-system-x86_64: failed to initialize KVM: No such file or directory windows10-in-docker_win10_1 exited with code 1 novnc_1 | 2022-06-29 17:19:53,762 INFO success: websockify entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) novnc_1 | 2022-06-29 17:19:53,762 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) novnc_1 | 2022-06-29 17:19:53,763 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) ^CGracefully stopping... (press Ctrl+C again to force) Stopping windows10-in-docker_novnc_1 ... done