Skip to content

Commit

Permalink
fix: Disable kernel networking in bridge mode (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Mar 11, 2024
1 parent 787f815 commit 59b98fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```
Expand Down

0 comments on commit 59b98fe

Please sign in to comment.