dockur / windows

Windows inside a Docker container.
MIT License
18.01k stars 1.57k forks source link

[Question]: Using the Microsoft windows image #694

Closed techexplorer1 closed 3 weeks ago

techexplorer1 commented 2 months ago

Is your question not already answered in the FAQ?

Is this a general question and not a technical issue?

Question

Appending further to "How do I install a custom image?", does it have any custom requirements of the ISO image or is it possible to use the default image from https://www.microsoft.com/software-download/windows11. Thanks!

j0lle commented 2 months ago

Can confirm this works you need to set the volume in your compose file to the local iso (as described in the readme) and run I used a tiny11 version from archive.org

techexplorer1 commented 2 months ago

Do you mean version or volume? I used the below but it did not work.

    environment:
      VERSION: "C:\Users\<uname>\Downloads\Win11_23H2_English_x64v2.iso"
j0lle commented 2 months ago

yeah you need to add it as a volume

volumes:
  - C:\Users\<uname>\Downloads\Win11_23H2_English_x64v2.iso:/custom.iso