[PR #20] [MERGED] fix: keep managed bridge out of host bonds #21

Closed
opened 2026-10-15 12:51:21 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/LXC2Docker/pull/20
Author: @JBailes
Created: 5/16/2026
Status: ✅ Merged
Merged: 5/16/2026
Merged by: @JBailes

Base: docker-lxc-daemon ← Head: wolf-plugin-runtime


📝 Commits (1)

  • ad44589 fix: keep managed bridge out of host bonds

📊 Changes

6 files changed (+125 additions, -19 deletions)

View changed files

📝 internal/api/containers.go (+4 -1)
📝 internal/api/system.go (+3 -3)
📝 internal/api/types.go (+12 -0)
📝 internal/lxc/manager.go (+1 -1)
📝 internal/lxc/network.go (+55 -14)
➕ internal/lxc/network_test.go (+50 -0)

📄 Description

Summary

  • rename Docker network to gow and Linux bridge to br-gow0
  • migrate legacy veth0 bridge and detach the managed bridge from any master bond
  • preserve Docker DeviceRequests in HostConfig round-trips

Tests

  • go test internal/lxc/network.go internal/lxc/config.go internal/lxc/syscall.go internal/lxc/network_test.go
  • git diff --check

Full package tests are blocked locally because liblxc pkg-config metadata (lxc.pc) is not installed in this environment.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/LXC2Docker/pull/20 **Author:** [@JBailes](https://github.com/JBailes) **Created:** 5/16/2026 **Status:** ✅ Merged **Merged:** 5/16/2026 **Merged by:** [@JBailes](https://github.com/JBailes) **Base:** `docker-lxc-daemon` ← **Head:** `wolf-plugin-runtime` --- ### 📝 Commits (1) - [`ad44589`](https://github.com/games-on-whales/LXC2Docker/commit/ad44589ac9b8d788b80a808056c80685fd190a94) fix: keep managed bridge out of host bonds ### 📊 Changes **6 files changed** (+125 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `internal/api/containers.go` (+4 -1) 📝 `internal/api/system.go` (+3 -3) 📝 `internal/api/types.go` (+12 -0) 📝 `internal/lxc/manager.go` (+1 -1) 📝 `internal/lxc/network.go` (+55 -14) ➕ `internal/lxc/network_test.go` (+50 -0) </details> ### 📄 Description ## Summary - rename Docker network to gow and Linux bridge to br-gow0 - migrate legacy veth0 bridge and detach the managed bridge from any master bond - preserve Docker DeviceRequests in HostConfig round-trips ## Tests - go test internal/lxc/network.go internal/lxc/config.go internal/lxc/syscall.go internal/lxc/network_test.go - git diff --check Full package tests are blocked locally because liblxc pkg-config metadata (lxc.pc) is not installed in this environment. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:51:21 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/LXC2Docker#21
No description provided.