mirror of
https://github.com/dockur/windows.git
synced 2026-01-22 19:03:04 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ab457abc3c | ||
|
|
70dce80aec | ||
|
|
5e2ca4c1b6 |
@@ -2,5 +2,5 @@
|
|||||||
"name": "windows",
|
"name": "windows",
|
||||||
"service": "windows",
|
"service": "windows",
|
||||||
"forwardPorts": [8006],
|
"forwardPorts": [8006],
|
||||||
"dockerComposeFile": "compose.yml"
|
"dockerComposeFile": ".github/codespaces.yml"
|
||||||
}
|
}
|
||||||
|
|||||||
22
.github/codespaces.yml
vendored
Normal file
22
.github/codespaces.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
windows:
|
||||||
|
image: dockurr/windows
|
||||||
|
container_name: windows
|
||||||
|
environment:
|
||||||
|
VERSION: "11"
|
||||||
|
RAM_SIZE: "max"
|
||||||
|
DISK_SIZE: "max"
|
||||||
|
CPU_CORES: "max"
|
||||||
|
devices:
|
||||||
|
- /dev/kvm
|
||||||
|
- /dev/net/tun
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
ports:
|
||||||
|
- 8006:8006
|
||||||
|
- 3389:3389/tcp
|
||||||
|
- 3389:3389/udp
|
||||||
|
volumes:
|
||||||
|
- ./windows:/storage
|
||||||
|
restart: on-failure
|
||||||
|
stop_grace_period: 2m
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
ARG VERSION_ARG="latest"
|
ARG VERSION_ARG="latest"
|
||||||
FROM scratch AS build-amd64
|
FROM scratch AS build-amd64
|
||||||
|
|
||||||
COPY --from=qemux/qemu:7.23 / /
|
COPY --from=qemux/qemu:7.24 / /
|
||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG DEBCONF_NOWARNINGS="yes"
|
ARG DEBCONF_NOWARNINGS="yes"
|
||||||
|
|||||||
19
readme.md
19
readme.md
@@ -160,7 +160,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
|||||||
|
|
||||||
### How do I change the amount of CPU or RAM?
|
### How do I change the amount of CPU or RAM?
|
||||||
|
|
||||||
By default, the container will be allowed to use a maximum of 2 CPU cores and 4 GB of RAM.
|
By default, Windows will be allowed to use 2 CPU cores and 4 GB of RAM.
|
||||||
|
|
||||||
If you want to adjust this, you can specify the desired amount using the following environment variables:
|
If you want to adjust this, you can specify the desired amount using the following environment variables:
|
||||||
|
|
||||||
@@ -172,9 +172,9 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
|||||||
|
|
||||||
### How do I configure the username and password?
|
### How do I configure the username and password?
|
||||||
|
|
||||||
By default, a user called `Docker` is created during installation and its password is `admin`.
|
By default, a user called `Docker` is created and its password is `admin`.
|
||||||
|
|
||||||
If you want to use different credentials, you can configure them in your compose file (only before installation):
|
If you want to use different credentials during installation, you can configure them in your compose file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
environment:
|
environment:
|
||||||
@@ -186,7 +186,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
|||||||
|
|
||||||
By default, the English version of Windows will be downloaded.
|
By default, the English version of Windows will be downloaded.
|
||||||
|
|
||||||
But before installation you can add the `LANGUAGE` environment variable to your compose file, in order to specify an alternative language:
|
But you can add the `LANGUAGE` environment variable to your compose file, in order to specify an alternative language to be downloaded:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
environment:
|
environment:
|
||||||
@@ -197,7 +197,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
|||||||
|
|
||||||
### How do I select the keyboard layout?
|
### How do I select the keyboard layout?
|
||||||
|
|
||||||
If you want to use a keyboard layout or locale that is not the default for your selected language, you can add `KEYBOARD` and `REGION` variables like this (before installation):
|
If you want to use a keyboard layout or locale that is not the default for your selected language, you can add `KEYBOARD` and `REGION` variables like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
environment:
|
environment:
|
||||||
@@ -205,15 +205,6 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
|||||||
KEYBOARD: "en-US"
|
KEYBOARD: "en-US"
|
||||||
```
|
```
|
||||||
|
|
||||||
### How do I select the edition?
|
|
||||||
|
|
||||||
Windows Server offers a minimalistic Core edition without a GUI. To select those non-standard editions, you can add a `EDITION` variable like this (before installation):
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
environment:
|
|
||||||
EDITION: "core"
|
|
||||||
```
|
|
||||||
|
|
||||||
### How do I install a custom image?
|
### How do I install a custom image?
|
||||||
|
|
||||||
In order to download an unsupported ISO image, specify its URL in the `VERSION` environment variable:
|
In order to download an unsupported ISO image, specify its URL in the `VERSION` environment variable:
|
||||||
|
|||||||
Reference in New Issue
Block a user