diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-01-08 17:08:06 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-09 03:32:52 +0000 |
| commit | f2889118f7871bb69d21db978b6c5f9131ecb089 (patch) | |
| tree | d0f9eba661abc4339c1fd9ca0314fc00069b6e7c /scripts | |
| parent | 6b18259bd97f6d350f18eccbdd0b81fbc2bd982e (diff) | |
| download | meta-virtualization-f2889118f7871bb69d21db978b6c5f9131ecb089.tar.gz | |
vcontainer: update CLI for bridge networking
Update the CLI wrapper to work with Docker bridge networking:
- qmp_add_hostfwd(): Change QEMU port forward from host_port->guest_port
to host_port->host_port. With bridge networking, Docker's iptables
handles the final hop (VM:host_port -> container:guest_port).
- Default network mode: Remove --network=host default. Docker's bridge
is now the default, giving each container its own IP. Users can still
explicitly use --network=host for legacy behavior.
- Update help text to document the new bridge networking behavior.
Port forwarding flow is now:
Host:8080 -> QEMU -> VM:8080 -> Docker iptables -> Container:80
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
