Compare commits

..

4 Commits

Author SHA1 Message Date
Kroese
461be96ecd
docs: Formatting (#1129)
Some checks failed
Build / Test (push) Waiting to run
Build / Build (push) Blocked by required conditions
Update / dockerHubDescription (push) Has been cancelled
2025-03-18 14:26:16 +01:00
Kroese
c31c530f2b
docs: Github Codespaces (#1127) 2025-03-18 14:02:31 +01:00
Kroese
a995ecc174
feat: Add devcontainer (#1126) 2025-03-18 11:17:27 +01:00
Riaan Nolan
d3358f7345
fear: Add devcontainer (#1125) 2025-03-18 11:13:37 +01:00
3 changed files with 21 additions and 9 deletions

6
.devcontainer.json Normal file
View File

@ -0,0 +1,6 @@
{
"name": "windows",
"service": "windows",
"forwardPorts": ["8006"],
"dockerComposeFile": "compose.yml"
}

View File

@ -26,7 +26,7 @@ Windows inside a Docker container.
## Usage 🐳 ## Usage 🐳
Via Docker Compose: ##### Via Docker Compose:
```yaml ```yaml
services: services:
@ -50,27 +50,32 @@ 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** | |
|---|---|---| |---|---|---|
| Docker Engine | Linux| ✅ | | Docker Engine | Linux| ✅ |
| Docker Desktop | Linux | ❌ | | Docker Desktop | Linux | ❌ |
| 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 💬

View File

@ -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