mirror of
https://github.com/dockur/windows.git
synced 2025-10-26 19:05:49 +00:00
docs: Add TUN device (#940)
This commit is contained in:
parent
a4fdfbdf91
commit
9654a945fb
3 changed files with 53 additions and 48 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue