- Start the container and get some coffee, it will begin downloading the ISO file.
- Start the container and get some coffee.
- Connect to port 8006 of the container in your web browser and wait until you see the screen.
- Connect to port 8006 of the container in your web browser.
- Sit back and relax while the magic happens, the whole installation will be performed fully automatic.
- Once you see the desktop, your Windows installation is ready for use. Enjoy it, and don't forget to star this repo!
* ### How do I specify another Windows version?
* ### How do I select the Windows version?
By default, Windows 11 will be installed. But you can add the `VERSION` environment variable to your compose file, in order to specify an alternative Windows version to download:
```yaml
environment:
VERSION: "win11x64"
VERSION: "win11"
```
Select from the values below:
- ```win11x64``` (Windows 11)
- ```win10x64``` (Windows 10)
- ```win81x64``` (Windows 8.1)
- ```win2022-eval``` (Windows Server 2022)
- ```win2019-eval``` (Windows Server 2019)
- ```win2016-eval``` (Windows Server 2016)
* ### How do I install a custom ISO file?
You can supply your own ISO file by naming it ```custom.iso``` and placing it in the ```/storage``` folder.
Make sure to delete any other files in this folder, so that there are no leftovers from previous installations. Then follow the same steps as for [manual installation](https://github.com/dockur/windows/tree/master?tab=readme-ov-file#how-do-i-perform-a-manual-installation).
The container includes a web-based viewer, so you can visit [http://localhost:8006/](http://localhost:8006/) using any web browser to view the screen and interact with Windows via the keyboard or mouse.
The container includes a web-based viewer, so you can visit [http://localhost:8006/](http://localhost:8006/) using any web browser to view the screen and interact with Windows via the keyboard and mouse.
This is mainly for use during installation, as afterwards you can use Remote Desktop, TeamViewer or any other software you prefer.
* ### How do I perform a manual installation?
If you prefer to perform the installation manually in order to customize some options, add the following environment variable:
If you prefer to perform the installation manually in order to customize some options, such as selecting another edition, add the following environment variable:
```yaml
environment:
ATTENDED: "Y"
MANUAL: "Y"
```
Then follow these steps:
- Start the container and wait until the ISO download is finished. If needed, you can view the progress in the Docker log.
- Connect to port 8006 of the container in your web browser, you will see the Windows installation screen.
- Start the container and connect to port 8006 of the container in your web browser. After the download is finished, you will see the Windows installation screen.
- Start the installation by clicking ```Install now```. On the next screen, press 'OK' when prompted to ```Load driver``` and select the ```VirtIO SCSI``` driver from the list that matches your Windows version. So for Windows 11, select ```D:\amd64\w11\vioscsi.inf``` and click 'Next'.
- Now your Windows installation is ready for use. Enjoy it, and don't forget to star this repo!
* ### How do I install an unsupported version?
You can specify an URL in the `VERSION` environment variable, in order to download a custom ISO file:
```yaml
environment:
VERSION: "https://example.com/win.iso"
```
During the installation you will need to add some drivers as described in [manual installation](https://github.com/dockur/windows/tree/master?tab=readme-ov-file#how-do-i-perform-a-manual-installation) above.
* ### Is this project legal?
Yes, this project contains only open-source code and does not distribute any copyrighted material. Neither does it try to circumvent any copyright protection measures. So under all applicable laws, this project would be considered legal.