mirror of
https://github.com/dockur/windows.git
synced 2025-04-22 08:32:53 +00:00
Compare commits
4 Commits
c9abc7551a
...
461be96ecd
Author | SHA1 | Date | |
---|---|---|---|
|
461be96ecd | ||
|
c31c530f2b | ||
|
a995ecc174 | ||
|
d3358f7345 |
6
.devcontainer.json
Normal file
6
.devcontainer.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "windows",
|
||||||
|
"service": "windows",
|
||||||
|
"forwardPorts": ["8006"],
|
||||||
|
"dockerComposeFile": "compose.yml"
|
||||||
|
}
|
11
readme.md
11
readme.md
@ -26,7 +26,7 @@ Windows inside a Docker container.
|
|||||||
|
|
||||||
## Usage 🐳
|
## Usage 🐳
|
||||||
|
|
||||||
Via Docker Compose:
|
##### Via Docker Compose:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
@ -50,18 +50,22 @@ services:
|
|||||||
stop_grace_period: 2m
|
stop_grace_period: 2m
|
||||||
```
|
```
|
||||||
|
|
||||||
Via Docker CLI:
|
##### Via Docker CLI:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/windows:/storage --stop-timeout 120 dockurr/windows
|
docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v ${PWD:-.}/windows:/storage --stop-timeout 120 dockurr/windows
|
||||||
```
|
```
|
||||||
|
|
||||||
Via Kubernetes:
|
##### Via Kubernetes:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/master/kubernetes.yml
|
kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/master/kubernetes.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Via Github Codespaces:
|
||||||
|
|
||||||
|
[`Click here to launch this container in the cloud!`](https://github.com/codespaces/new?skip_quickstart=true&machine=basicLinux32gb&repo=743140652&ref=master&devcontainer_path=.devcontainer.json)
|
||||||
|
|
||||||
## Compatibility ⚙️
|
## Compatibility ⚙️
|
||||||
|
|
||||||
| **Product** | **Platform** | |
|
| **Product** | **Platform** | |
|
||||||
@ -71,6 +75,7 @@ kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/mas
|
|||||||
| Docker Desktop | macOS | ❌ |
|
| Docker Desktop | macOS | ❌ |
|
||||||
| Docker Desktop | Windows 11 | ✅ |
|
| Docker Desktop | Windows 11 | ✅ |
|
||||||
| Docker Desktop | Windows 10 | ❌ |
|
| Docker Desktop | Windows 10 | ❌ |
|
||||||
|
| Github Codespaces | Cloud | ✅ |
|
||||||
|
|
||||||
## FAQ 💬
|
## FAQ 💬
|
||||||
|
|
||||||
|
@ -7,9 +7,10 @@ set -Eeuo pipefail
|
|||||||
|
|
||||||
cd /run
|
cd /run
|
||||||
|
|
||||||
|
. utils.sh # Load functions
|
||||||
. reset.sh # Initialize system
|
. reset.sh # Initialize system
|
||||||
. define.sh # Define versions
|
. define.sh # Define versions
|
||||||
. mido.sh # Download code
|
. mido.sh # Download Windows
|
||||||
. install.sh # Run installation
|
. install.sh # Run installation
|
||||||
. disk.sh # Initialize disks
|
. disk.sh # Initialize disks
|
||||||
. display.sh # Initialize graphics
|
. display.sh # Initialize graphics
|
||||||
|
Loading…
Reference in New Issue
Block a user