mirror of
https://github.com/games-on-whales/LXC2Docker.git
synced 2026-10-16 05:12:04 +00:00
[PR #2] [MERGED] Proxmox CT mode with dual-NIC LAN bridge and daemon resilience #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/LXC2Docker#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/LXC2Docker/pull/2
Author: @JBailes
Created: 4/13/2026
Status: ✅ Merged
Merged: 4/14/2026
Merged by: @JBailes
Base:
docker-lxc-daemon← Head:aimee/session/b86598a3📝 Commits (8)
26a458dFix Wolf compatibility: CGO deadlocks, Docker state mapping, and missing inspect fields9f93476Proxmox CT mode: wolf/wolf-den as PVE CTs, ephemeral on ZFS1ac053bFix PVE deploy: hostname sanitization, basevol paths, raw network config46f8145Dual-NIC LAN bridge: containers get routable IPs on physical network86c0fc1Fix mDNS: make LAN bridge the primary NIC (net.0)3f864d9Fix rootfs path for symlink resolution in ephemeral containers6b4c87dFix stale Docker socket after daemon restart99264c0Fix ephemeral container lifecycle and Docker API compatibility📊 Changes
9 files changed (+1611 additions, -222 deletions)
View changed files
📝
cmd/docker-lxc-daemon/main.go(+34 -3)📝
internal/api/containers.go(+114 -21)📝
internal/api/router.go(+24 -0)📝
internal/api/system.go(+52 -0)📝
internal/api/types.go(+54 -41)📝
internal/lxc/config.go(+525 -26)📝
internal/lxc/manager.go(+776 -126)📝
internal/lxc/network.go(+25 -1)📝
internal/store/store.go(+7 -4)📄 Description
Summary
gow.lanDocker labellxc.rootfs.pathfrom config for ZFS clone containers instead of assumingconfig_dir/rootfsChanges
cmd/docker-lxc-daemon/main.go: LAN bridge flags (--lan-bridge,--lan-prefix,--lan-gateway,--lan-subnet); socket moved to/run/docker-lxc-daemon/with compat symlinkinternal/lxc/config.go: Dual-NIC config generation, socket directory mount logic (appendSocketMount),resolveInRootfshelperinternal/lxc/network.go:DualNICConfig()— LAN as net.0, internal as net.1internal/lxc/manager.go:LANConfigstruct, VMID-based LAN IP computation, socket symlink creation inprepareRootfsinternal/api/containers.go: Parsegow.lanlabel, override host networking for LAN containersTest plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.