docs: Add TUN device

This commit is contained in:
Kroese 2024-12-01 16:35:25 +01:00 committed by GitHub
parent 57ce81cdf3
commit d9518a3704
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,8 +36,8 @@ services:
environment:
VERSION: "11"
devices:
- /dev/net/tun:/dev/net/tun
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
@ -50,7 +50,7 @@ services:
Via Docker CLI:
```bash
docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows
docker run -it --rm -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows
```
Via Kubernetes: