mirror of
https://github.com/dockur/windows.git
synced 2024-10-02 15:21:19 +00:00
fix: Disable kernel networking in bridge mode (#257)
This commit is contained in:
parent
787f815527
commit
59b98fe211
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
FROM scratch
|
||||
COPY --from=qemux/qemu-docker:4.16 / /
|
||||
COPY --from=qemux/qemu-docker:4.17 / /
|
||||
|
||||
ARG DEBCONF_NOWARNINGS "yes"
|
||||
ARG DEBIAN_FRONTEND "noninteractive"
|
||||
|
|
|
@ -227,6 +227,8 @@ docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_
|
|||
```yaml
|
||||
environment:
|
||||
DHCP: "Y"
|
||||
devices:
|
||||
- /dev/vhost-net
|
||||
device_cgroup_rules:
|
||||
- 'c *:* rwm'
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue