Betriebssysteme in Docker
Windows
Quellen:
https://github.com/dockur/windows
By default, a user called Docker is created during installation and its password is admin
Alle weiteren Einstelllungen sind in der README.md von github-Repo zu finden.
Via Docker Compose:
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "11"
LANGUAGE: "German"
REGION: "de-DE"
KEYBOARD: "de-DE"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006 # im Browser; kein kopieren aus Zwischenablage
- 3389:3389/tcp # Verbindung mit RDP
- 3389:3389/udp
volumes:
- ./windows:/storage
restart: always
stop_grace_period: 2m
Via Docker CLI:
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:
kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/master/kubernetes.yml