mirror of
https://github.com/dockur/windows-arm.git
synced 2024-11-07 14:41:48 +00:00
docs: Custom XML instructions (#88)
This commit is contained in:
parent
9e4facc6a0
commit
083973ac83
1 changed files with 17 additions and 4 deletions
17
readme.md
17
readme.md
|
@ -137,14 +137,14 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
|||
|
||||
* ### How do I install a custom image?
|
||||
|
||||
In order to download a custom ISO image, start a clean container with the URL of the ISO specified in the `VERSION` environment variable:
|
||||
In order to download a custom ISO image, start a fresh container with the URL of the ISO specified in the `VERSION` environment variable:
|
||||
|
||||
```yaml
|
||||
environment:
|
||||
VERSION: "https://example.com/win.iso"
|
||||
```
|
||||
|
||||
Alternatively, you can also use a local file directly, and skip the download, by binding it in your compose file in this way:
|
||||
Alternatively, you can also use a local file directly, and skip the download, by binding it in your compose file in this way:
|
||||
|
||||
```yaml
|
||||
volumes:
|
||||
|
@ -153,6 +153,19 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
|||
|
||||
Replace the example path `/home/user/example.iso` with the filename of the desired ISO file.
|
||||
|
||||
* ### How do I customize the installation?
|
||||
|
||||
You can customize any part of the automatic installation, and even execute certain commands at boot if needed.
|
||||
|
||||
Download the XML file corresponding to your Windows version, for example [win11arm64.xml](https://raw.githubusercontent.com/dockur/windows-arm/master/assets/win11arm64.xml). Then apply your modifications to it, and add this line to your compose file:
|
||||
|
||||
```yaml
|
||||
volumes:
|
||||
- /home/user/custom.xml:/run/assets/win11arm64.xml
|
||||
```
|
||||
|
||||
Replace the example path `/home/user/custom.xml` with the filename of the modified XML file.
|
||||
|
||||
* ### How do I assign an individual IP address to the container?
|
||||
|
||||
By default, the container uses bridge networking, which shares the IP address with the host.
|
||||
|
|
Loading…
Reference in a new issue