From 59b98fe211077fc39d23e78f712a8296a94db90f Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 12 Mar 2024 00:46:51 +0100 Subject: [PATCH] fix: Disable kernel networking in bridge mode (#257) --- Dockerfile | 2 +- readme.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ac3dd01..c3c3df7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" diff --git a/readme.md b/readme.md index 55740bc..8ce2a98 100644 --- a/readme.md +++ b/readme.md @@ -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' ```