docs: Version alias (#859)

This commit is contained in:
Kroese 2024-11-10 00:01:12 +01:00 committed by GitHub
parent 86a766381e
commit f1f6c640b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 26 additions and 24 deletions

View File

@ -37,9 +37,9 @@ FROM build-${TARGETARCH}
EXPOSE 8006 3389 EXPOSE 8006 3389
VOLUME /storage VOLUME /storage
ENV VERSION="11"
ENV RAM_SIZE="4G" ENV RAM_SIZE="4G"
ENV CPU_CORES="2" ENV CPU_CORES="2"
ENV DISK_SIZE="64G" ENV DISK_SIZE="64G"
ENV VERSION="win11"
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"] ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]

View File

@ -3,7 +3,7 @@ services:
image: dockurr/windows image: dockurr/windows
container_name: windows container_name: windows
environment: environment:
VERSION: "win11" VERSION: "11"
devices: devices:
- /dev/kvm - /dev/kvm
cap_add: cap_add:

View File

@ -30,8 +30,10 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
env: env:
- name: VERSION
value: "11"
- name: RAM_SIZE - name: RAM_SIZE
value: 4G value: "4G"
- name: CPU_CORES - name: CPU_CORES
value: "2" value: "2"
- name: DISK_SIZE - name: DISK_SIZE

View File

@ -34,7 +34,7 @@ services:
image: dockurr/windows image: dockurr/windows
container_name: windows container_name: windows
environment: environment:
VERSION: "win11" VERSION: "11"
devices: devices:
- /dev/kvm - /dev/kvm
cap_add: cap_add:
@ -78,34 +78,34 @@ kubectl apply -f kubernetes.yml
```yaml ```yaml
environment: environment:
VERSION: "win11" VERSION: "11"
``` ```
Select from the values below: Select from the values below:
| **Value** | **Version** | **Size** | | **Value** | **Version** | **Size** |
|---|---|---| |---|---|---|
| `win11` | Windows 11 Pro | 5.4 GB | | `11` | Windows 11 Pro | 5.4 GB |
| `ltsc11` | Windows 11 LTSC | 4.2 GB | | `11l` | Windows 11 LTSC | 4.2 GB |
| `win11e` | Windows 11 Enterprise | 5.8 GB | | `11e` | Windows 11 Enterprise | 5.8 GB |
|||| ||||
| `win10` | Windows 10 Pro | 5.7 GB | | `10` | Windows 10 Pro | 5.7 GB |
| `ltsc10` | Windows 10 LTSC | 4.6 GB | | `10l` | Windows 10 LTSC | 4.6 GB |
| `win10e` | Windows 10 Enterprise | 5.2 GB | | `10e` | Windows 10 Enterprise | 5.2 GB |
|||| ||||
| `win8` | Windows 8.1 Pro | 4.0 GB | | `8` | Windows 8.1 Pro | 4.0 GB |
| `win8e` | Windows 8.1 Enterprise | 3.7 GB | | `8e` | Windows 8.1 Enterprise | 3.7 GB |
| `win7` | Windows 7 Enterprise | 3.0 GB | | `7e` | Windows 7 Enterprise | 3.0 GB |
| `vista` | Windows Vista Enterprise | 3.0 GB | | `ve` | Windows Vista Enterprise | 3.0 GB |
| `winxp` | Windows XP Professional | 0.6 GB | | `xp` | Windows XP Professional | 0.6 GB |
|||| ||||
| `2025` | Windows Server 2025 | 5.0 GB | | `2025` | Windows Server 2025 | 5.0 GB |
| `2022` | Windows Server 2022 | 4.7 GB | | `2022` | Windows Server 2022 | 4.7 GB |
| `2019` | Windows Server 2019 | 5.3 GB | | `2019` | Windows Server 2019 | 5.3 GB |
| `2016` | Windows Server 2016 | 6.5 GB | | `2016` | Windows Server 2016 | 6.5 GB |
| `2012` | Windows Server 2012 | 4.3 GB | | `2012` | Windows Server 2012 | 4.3 GB |
| `2008` | Windows Server 2008 | 3.0 GB | | `2008` | Windows Server 2008 | 3.0 GB |
| `2003` | Windows Server 2003 | 0.6 GB | | `2003` | Windows Server 2003 | 0.6 GB |
> [!TIP] > [!TIP]
> To install ARM64 versions of Windows use [dockur/windows-arm](https://github.com/dockur/windows-arm/). > To install ARM64 versions of Windows use [dockur/windows-arm](https://github.com/dockur/windows-arm/).