Uh oh!
There was an error while loading. Please reload this page.
Add bridged physical networking via vmnet-helper - #1661
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8f7929e to
e4d1fa1CompareA `container-network-vmnet-helper` plugin bridges container machines onto a physical interface with static IPv4 and an address pool. Machines attach via `container machine set network=<spec>` and set extra kernel command-line args with `kernel-arg=`. Bridged networks are machine-only; a regular container requesting one is rejected. Signed-off-by: s3rj1k <evasive.gyron@gmail.com>
s3rj1k
commented
Jul 10, 2026
Does not look like there is an upstream interest in this, closing PR |
nirs
commented
Jul 10, 2026
@jglogan this looks like an interesting integration. Can we someone review this? |
s3rj1k
commented
Jul 10, 2026
@nirs Thanks for the interest in this and for the network helper 😃 I am trying to follow the latest releases of https://github.com/s3rj1k/container/releases/tag/v1.1.0%2B5973b9c Regarding this feature in general, for my use-case I need to have a VM that I can run easily with bridge and shard networks and where I can run wireguard in kernel mode and nested virtualization, essentially replacing UTM. For So I am actually starting to think at this point that taking |
nirs
commented
Jul 10, 2026
You can use krunkit (using libkrun) or vfkit (using virtualization framework). Both support nested virtualization and have good integration with vmnet-helper. You can check examples in vmnet-helper testing harness and minikube vfkit and krunkit drivers. krunkit supports also GPU hardware acceleration. Integrating with Apple container looks interesting and useful for the community. |
Add bridged physical networking via vmnet-helper
A
container-network-vmnet-helperplugin bridges container machinesonto a physical interface with static IPv4 and an address pool.
Machines attach via
container machine set network=<spec>and setextra kernel command-line args with
kernel-arg=. Bridged networksare machine-only; a regular container requesting one is rejected.
Type of Change
Motivation and Context
I, as a user, would like to have bridge support in machine containers, this change adds bridge support via external vmnet-helper and ability to set kernel args for custom kernels
Testing