GithubHelp home page GithubHelp logo

dockur / windows Goto Github PK

View Code? Open in Web Editor NEW
13.0K 13.0K 998.0 556 KB

Windows in a Docker container.

License: MIT License

Dockerfile 1.64% Shell 98.36%
docker docker-container windows windows-virtual-machines

windows's People

Contributors

asafhad avatar eltociear avatar hellodword avatar kroese avatar renovate[bot] avatar wshaper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windows's Issues

Adding sound device

Sorry but I am new. How would I add a sound device to the Windows 10 docker?? I know with a VM you add to the xml config but not sure how to do it in this case. While I know noVNC can't play audio I am looking to use teamviewer to access this remotely.

Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory

1.When I enter"docker compose up -d",An error has occurred:
"Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory"

2.My docker-compse.yml:
version: "3"
services:
windows:
image: dockurr/windows
container_name: windows
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
- ./win:/storage

stop_grace_period: 2m
restart: on-failure

help

root ➜ ~ $ docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows
Unable to find image 'dockurr/windows:latest' locally
latest: Pulling from dockurr/windows
ff4a91bb72ce: Pull complete
6193bca6ebd8: Pull complete
10c5d462b1f1: Pull complete
b53390f31a55: Pull complete
cea458e59c9a: Pull complete
70fb2f730bd9: Pull complete
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
KVM: entry failed, hardware error 0xffffffff
EAX=00000000 EBX=c0484638 ECX=000000b2 EDX=000000b2
ESI=00000000 EDI=0000007a EBP=c04845a0 ESP=c0484578
EIP=00008000 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=1 HLT=0
ES =0000 00000000 ffffffff 00809300
CS =c100 7ffc1000 ffffffff 00809300
SS =0000 00000000 ffffffff 00809300
DS =0000 00000000 ffffffff 00809300
FS =0000 00000000 ffffffff 00809300
GS =0000 00000000 ffffffff 00809300
LDT=0000 00000000 00000000 00000000
TR =0040 1bc8e000 00000067 00008b00
GDT= 1bc8ffb0 00000057
IDT= 00000000 00000000
CR0=00050032 CR2=36a517f8 CR3=411a0000 CR4=00000000
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000000
Code=qemu-system-x86_64: hw/core/cpu-sysemu.c:76: cpu_asidx_from_attrs: Assertion `ret < cpu->num_ases && ret >= 0' failed.
❯ ERROR: Forcefully terminating Windows, reason: 0...
❯ Shutdown completed!

error in docker run

Hey there, either with docker compose or docker run i am getting this error in the log
root@dps-43:~# docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN dockurr/windows
❯ Starting Windows for Docker v1.10...
❯ For support visit https://github.com/dockur/windows

install.sh: line 45: BASE: unbound variable

P.S: it's just a repeating error and nothing else is being shown

Help, no network in windows systemwhile creating docker container in synology

I followed the guideline to successfully create the win10 container in synology device(DSM7). docker network is defined as macvlan with fixed ipv4 address. the os can well start but there is no network inside. Yellow exclamation points show on the network device and pci device in Device Manager. How can I fix this problem?

Windows could not apply unattend settings during pass (offlineServicing)

Issue description:

During the installation of Windows, the setup was canceled and an error message was displayed stating: "Windows could not apply unattended settings during pass [offlineServicing]."

Steps to reproduce:

  1. Start Windows installation setup.
  2. Proceed to the stage where Windows applies unattended settings during the offlineServicing pass.
  3. The error message appears, and the installation is canceled.

Expected behavior:

The installation should proceed without any errors during the offlineServicing pass.

Actual behavior:

An error message appears, and the installation process is halted.

Screenshots:

image

Possible Solution:

This was during a Windows 11 install without TPM. Possible solutions may involve installing on another machine with TPM.

Error on Extract ESD

root@Lost:/home/lost# docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows
❯ Starting Windows for Docker v2.03...
❯ For support visit https://github.com/dockur/windows

❯ Downloading Windows 11...
[i] Downloading Windows media from official Microsoft servers...
[i] Downloading Windows 11...
[!] Microsoft blocked the automated download request based on your IP address. Please check the FAQ on how to boot from a local file and manually download this ISO in a web browser here: https://www.microsoft.com/en-us/software-download/windows11

[!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64
[+] Finished! Please see the above errors with information
❯ Failed to download Windows 11 using Mido, will try a different method now...
❯ Downloading product information from Microsoft...
❯ Downloading Windows 11...
/storage/tmp/win11x64.esd 100%[=================================================================>] 4.54G 10.6MB/s in 6m 34s
❯ Extracting Windows 11 bootdisk...
❯ Extracting Windows 11 environment...
❯ Extracting Windows 11 setup...
❯ Extracting Windows 11 image...
install.sh: line 482: 3353 Killed wimlib-imagex export "${iso}" ${imageIndex} "${installWimFile}" --compress=LZMS --chunk-size 128K --quiet
❯ ERROR: Addition of 9 to the image failed
❯ ERROR: Failed to extract ESD file!
root@Lost:/home/lost#

Docker not starting

I have two Unraid systems and one is running WindowsinDocker with no issues. However on my other Unraid system I have installed WindowsinDocker but the docker will not start.

In looking at the logs I am confused as it implies a network issue but no other docker or VMs have any network problems. I have removed the docker and reinstalled but still the same problem. I have been trying over the past 4 days and I get the same message each time.

Docker log attached
`[i] Downloading Windows media from official Microsoft servers...
[i] Downloading Windows 11...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 135k 0 135k 0 0 120k 0 --:--:-- 0:00:01 --:--:-- 120k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to vlscppe.microsoft.com port 443 after 0 ms: Couldn't connect to server
[!] Failed to contact Microsoft servers! Is there an Internet connection or is the server down?

[!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64
[+] Finished! Please see the above errors with information
❯ ERROR: Status 3 while: bash "$SCRIPT" "$VERSION" (line 94/13)
[i] Downloading Windows media from official Microsoft servers...
[i] Downloading Windows 11...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 135k 0 135k 0 0 83006 0 --:--:-- 0:00:01 --:--:-- 83041
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to vlscppe.microsoft.com port 443 after 0 ms: Couldn't connect to server
[!] Failed to contact Microsoft servers! Is there an Internet connection or is the server down?

[!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64
[+] Finished! Please see the above errors with information
❯ ERROR: Status 3 while: bash "$SCRIPT" "$VERSION" (line 94/13)
❯ Starting Windows for Docker v1.07...
❯ For support visit https://github.com/dockur/windows

❯ Starting Windows for Docker v1.07...
❯ For support visit https://github.com/dockur/windows

** Press ANY KEY to close this window ** `

Unraid Custom ISO

Please pardon my inability to get this working. I am doing my best but I know I am probably being dumb or over looking something.

I am trying to use a custom.iso (Windows LTSC 2021) I made a new share on my Unraid machine and placed the ISO there which is mapped accordingly /storage --> /mnt/disk1/docker-virtuals/WindowsinDocker/

Do I still specify the version here?
image

I also added the environment variable.
image

It seems to be still downloading Windows 10 Pro and installing that and not using my custom.iso
Again, my apologies I definitely feel like I am missing something or a step.

Thank you :)

Suggestion: Replace novnc with kasmvnc

Not sure if it would be possible, but replacing novnc with kasmvnc would be a nice quality of life change as it has a few extra settings and features that may be useful to some people, I know other containers have been able to swap from novnc to it such as webtop by linuxserver.io

RDP Authentication error

When attempting to connect to the virtual machine using microsoft remote desktop connection, i get an authentication error, i have tried using winxp, vista, win7, ltsc10, win11 as guests and they all give the same error, the container is running on my arch server and the machine i am using to connect is running Windows 10 LTSC 2021 (despite the theming), is there some sort of configuration i am missing on my windows machine or is this an issue with the container?
Remote Desktop Connection_b1
here is my current docker compose:

version: "3"
services:
  windows:
    image: dockurr/windows
    container_name: windows
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    volumes:
      - ${VOLUMES_PATH}/windows/storage:/storage
    stop_grace_period: 2m
    restart: on-failure
    environment:
      VERSION: "ltsc10"

Passthrough USB Device

Hi there, I want to be able to passthrough my USB devices like you can in a VM, in particular my iCue Link Hub.

How exactly do I do this?

image

Thankyou in advance!
Erin

Feature Request: VLAN Tagging

I don't know much much work it would be to implement... but for our use case for spinning up throw away lab environments, being able to add a VLAN tag would be really useful.

Which xml files?

Which unattend.xml files do you use for the following:
Tiny 10
Tiny 11
Tiny 11 Core
Windows XP SP3

Thanx!

Kevin

How do you access host data?

I want to access data on my shares. How can I do this?

Passing the path through doesn't seem to work. And I can seem to seem to discover anything under network either.

Network is on Bridge.

How to edit the Preparing website

Hello, I'd like to edit the Preparing (where the ISO is downloaded, extracted, etc..) site. I tried digging in the code but I haven't found anything. I found a html command, but I wasn't able to locate it. Where is the source of that?

are downloaded iso's saved external to the image?

Doesn't appear they are.

After downloading an iso to setup a VM, it'd be useful if this was saved in host path mapped to /storage.

Even better, do able to provide a save location for the ISO.

For example on Unraid, there's an iso share by default. Would make sense to be able to map this path, so that on container's first boot, and subsequently first setup, the ISO be saved to be reused later.

Support for macOS

Is there a way to run this on MacOS ?

When Starting I get following error:
Cannot start Docker Compose application. Reason: compose [start] exit status 1. Container windows Starting Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory

I know that KVM is not available under macOS but is there a alternative to use Qemu instead ?

Thanks in advance

Allow creation of local users (non microsoft-account user)

Hey, would it be possible to specify a local user through env variables? I see you are using unattended xml files, so i guess, adjusting them and adding the needed lines for a pre-configured username+password should be possible using some kind of text file manipulation tool like sed or something.

Where should i put custom.iso ?

Where should i put custom.iso ? "/storage" ( root ) , /home/(user)/storage or /root/storage or others. I tried to put the file in root , but it still start to download iso file.

Qnap - Container Station

Hi

I'm having problems installing on Qnap in Container Station
Qnap TS-855X

container-logs

❯ Downloading Windows XP...
/storage/tmp/en_win 100%[===================>] 589.14M 18.8MB/s in 32s
❯ Extracting downloaded ISO image...
❯ Building Windows XP image...
❯ Creating a 64G growable disk image in raw format...
Warning: Extension CHECKSUM revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
❯ Booting Windows using QEMU emulator version 8.2.0 ...
❯ ERROR: qemu-system-x86_64: eVMCS version range [1..1] is not supported by kernel (supported: [0..0])
qemu-system-x86_64: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Operation not supported
❯ Starting Windows for Docker v1.20...
❯ For support visit https://github.com/dockur/windows

pls help
br Pawel

Remote Connections

Thanks for this docker, everything works as expected, except I am having an issue trying to use Windows RDP to remote into the VM. The default ip address assigned is on 20.20.20.xxx network, I tried changing it via the network adapter but then it wouldn't connect to the internet. I have it set up as Bridge connection currently, I thought that might have defaulted it to the 192.168.xxx network.

about network

Can I bridge the host network machine in the virtual machine?
For example my host machine 192.168.1.12, my virtual machine 192.168.1.xx

nothing appears

maim-region-20240203-204855

After running the file, nothing display

OS: Arch Linux x86_64
Kernel: 6.6.1-arch1-1
DE: qtile
WM: LG3D

how to use local iso file ?

I cannot download the ISO file online due to unstable network
Is there any way to directly use the downloaded iso?

Feature request: run VNC on a URL subpath

First of all, this is an awesome project! I've been looking for something similar for years now.

In a scenario with multiple deployments, it would be nice if we could customize the path of the VNC's URL.

For example, an PATH=foo would make the service to be accessible at http://localhost:8006/foo.

ip banned?

windows | ❯ Starting Windows for Docker v1.18...
windows | ❯ For support visit https://github.com/dockur/windows
windows |
windows | �[1;34m❯ �[1;36mDownloading Windows 11...�[0m
windows | [i] Downloading Windows media from official Microsoft servers...
windows | [i] Downloading Windows 11...
windows | [!] Microsoft blocked the automated download request based on your IP address. Please manually download this ISO in a web browser here: https://www.microsoft.com/en-us/software-download/windows11
windows |
windows | [!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64
windows | [+] Finished! Please see the above errors with information
windows | �[1;31m❯ ERROR: Failed to download win11x64�[0m
windows | ❯ Starting Windows for Docker v1.18...
windows | ❯ For support visit https://github.com/dockur/windows

Dynamic Memory Usage

Have as anyone found how to set the ram to be dynamically used, as in proper ballooning?

As Windows calls for more ram, the system dedicates how much ever needed to it until hits the maximum permitted, but it won't return any of the dedicated ram when its no longer using it. So its essentially a one way street.

Opening ports

How would one go about making a service running on a certain port in the windows vm accessible to the host/network without going down the macvlan route?

Passthrough USB HDD

Hi, I would like to know if it is possible to passthrough a physical USB external HDD connected to the Host to the docker via
volumes

  • /dev/sdb:/xxx

KVM Acceleration not working

When installing Windows 11 I get
windows | �[1;34m❯ �[1;36mBuilding Windows 11 image...�[0m
windows | �[1;34m❯ �[1;36mCreating a 64G growable disk image in raw format...�[0m
windows | �[1;31m❯ ERROR: KVM acceleration not detected (device file missing), this will cause a major loss of performance.�[0m
windows | �[1;31m❯ ERROR: See the FAQ on how to enable it, or continue without KVM by setting KVM=N (not recommended).�[0m

But when I followed the FAQ and did

sudo apt install cpu-checker
sudo kvm-ok

It says

kam@debian:~$ sudo apt install cpu-checker
sudo kvm-ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cpu-checker is already the newest version (0.7-1.3+b1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
INFO: /dev/kvm exists
KVM acceleration can be used

What do I do?

GPU Passthrough

Hey, would like to know if this container is capable of passing through a gpu to the vm inside the container. I have looked into the upstream docker container qemus/qemu-docker, which seems to have some logic to work with gpu passthrough, though some documentation for this here would be great, if it is possible.

I also tried to connect to the container using virtual machine manager, but unfortunately i wasnt able to connect to it. Any idea why?

KVM error

KVM is working and exists on my host but when I start the container it generates this error,.

image

Microsoft Blocked the Automated Download - how can I supply the .iso?

I keep getting these messages and am wondering how I can just supply my own iso instead of downloading it

Microsoft blocked the automated download request based on your IP address. Please manually download this ISO in a web browser here: https://www.microsoft.com/en-us/software-download/windows11

[!] 1 attempted download(s) failed! Please re-run Mido with these arguments to try downloading again (any partial downloads will be resumed): win11x64
[i] Manual verification instructions

  1. Get checksum (may already be done for you):
    sha256sum <ISO_FILENAME>
  1. Verify media:
    Web search: https://duckduckgo.com/?q=%22CHECKSUM_HERE%22
    Onion search: https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/?q=%22CHECKSUM_HERE%22
    "No results found" or unexpected results indicates the media has been modified and should not be used.
  1. Remove the .UNVERIFIED extension from the file after performing or deciding to skip verification (not recommended):
    mv <ISO_FILENAME>.UNVERIFIED <ISO_FILENAME>

Theses searches can be performed in a web/Tor browser or more securely using
ddgr (Debian/Fedora packages available) terminal search tool if preferred.
Once validated, consider updating the checksums in Mido by submitting a pull request on GitHub.
[+] Finished! Please see the above errors with information
❯ ERROR: Status 3 while: bash "$SCRIPT" "$VERSION" (line 88/12)

Windows VNC points to the other VM

Thank you for your work. I encountered an issue when I attempted to install custom.iso. Initially, it ran smoothly, but when I tried to access the installation, the screen displayed another VM from my host. I am using UNRAID as both a Docker and VM host.

failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found

docker-compose.yaml

version: "3.9"

services:
  win10:
    image: dockurr/windows:1.09
    hostname: win10
    container_name: win10-dev
    stop_grace_period: 2m
    restart: unless-stopped
    environment:
      VERSION: "https://example.com/win10.iso"
      #VERSION: "win10"
      RAM_SIZE: "8G"
      CPU_CORES: "4"
      DISK_SIZE: "100G"
      MANUAL: "Y"
      TZ: Asia/Shanghai
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - "8006:8006"
      - "3389:3389/tcp"
      - "3389:3389/udp"
    volumes:
      - ./_docker-data/w10/storage:/storage

error log

[+] Running 1/1
 ✔ Container win10-dev  Started                                                                                                                                                                                                                                                                                     0.0s
win10-dev  | ❯ Starting Windows for Docker v1.09...
win10-dev  | ❯ For support visit https://github.com/dockur/windows
win10-dev  |
win10-dev  | ❯ Creating a growable disk image in raw format with a size of 100G...
win10-dev  | ❯ Booting Windows using QEMU emulator version 8.1.2 ...
win10-dev  |
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
win10-dev  | BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
win10-dev  | BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
win10-dev  |
Press any key to boot from CD or DVD......




BdsDxe: failed to start Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0): Time out
win10-dev  | BdsDxe: loading Boot0003 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
win10-dev  | BdsDxe: starting Boot0003 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
win10-dev  |
UEFI Interactive Shell v2.2
win10-dev  | EDK II
win10-dev  | UEFI v2.70 (Debian distribution of EDK II, 0x00010000)
win10-dev  | Mapping table
win10-dev  |       FS0: Alias(s):CD0a0b:;BLK2:
win10-dev  |           PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)/CDROM(0x1)
win10-dev  |       FS1: Alias(s):F0a0:;BLK3:
win10-dev  |           PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)/VenMedia(C5BD4D42-1A76-4996-8956-73CDA326CD0A)
win10-dev  |      BLK4: Alias(s):
win10-dev  |           PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)
win10-dev  |      BLK0: Alias(s):
win10-dev  |           PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
win10-dev  |      BLK1: Alias(s):
win10-dev  |           PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)/CDROM(0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
^Ccanceled

file tree

# tree
.
├── docker-compose.yaml
└── _docker-data
    └── w10
        └── storage
            ├── data.img
            ├── win10.iso
            ├── windows.rom
            └── windows.vars

my serverhost is ubuntu20, and windows iso is from https://windowsxlite.com/Optimum10ProV2/

Windows X-Lite (19045.3758) 'Optimum 10 Pro' by FBConan

Windows could not create partition on disk 0

When I start the container after downloading the iso, I get this error:

BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found

Installation fails with "Windows could not create a Partition".

Any solution for this? Thanks

VNC Connection not working in UNRAID

I just installed the WindowsinDocker application for UNRAID from Community Apps last week. It appeared to be running but I kept getting VNC errors (I could see Windows in the background, just no mouse or keyboard support). Over the weekend, several updates appear to have been pushed, and now when I start the container, I get "Failed to connect to the server" VNC errors. The docker logs don't really show any issues:

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(2,GPT,D8FCFBA8-615F-498C-AF32-8838F29C586C,0x96800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(2,GPT,D8FCFBA8-615F-498C-AF32-8838F29C586C,0x96800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi

Any ideas why VNC appears to be broken on UNRAID systems?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.