mirror of
https://github.com/dockur/windows.git
synced 2025-12-20 17:30:21 +00:00
docs: Add TUN device (#940)
This commit is contained in:
committed by
GitHub
parent
a4fdfbdf91
commit
9654a945fb
@@ -37,6 +37,7 @@ services:
|
||||
VERSION: "11"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
@@ -49,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:
|
||||
|
||||
Reference in New Issue
Block a user