Update compose.yml

This commit is contained in:
Alice King Tai Poon 潘景泰 2024-07-18 13:42:15 +08:00 committed by GitHub
parent 277534753e
commit b65bb11d4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,10 +2,7 @@ services:
windows:
container_name: windows
image: dockurr/windows
securityContext:
privileged: true
capabilities:
add: ["NET_ADMIN","NET_RAW"]
privileged: true
environment:
VERSION: "win11e"
devices:
@ -13,6 +10,7 @@ services:
- /dev/net/tun
cap_add:
- NET_ADMIN
- NET_RAW
ports:
- 8006:8006
- 3389:3389/tcp