mirror of
https://github.com/games-on-whales/LXC2Docker.git
synced 2026-10-16 05:12:04 +00:00
[PR #17] [MERGED] Fix PVE compatibility for Portainer and GoW #18
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#18
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/17
Author: @JBailes
Created: 4/18/2026
Status: ✅ Merged
Merged: 4/18/2026
Merged by: @JBailes
Base:
main← Head:fix/portainer-pve-deploy📝 Commits (3)
6ce1f74Fix Portainer create flow on PVEb6b96e1Fix LXC capability keep/drop translation0a2eb5bFix runtime socket mounts for GoW sessions📊 Changes
8 files changed (+369 additions, -22 deletions)
View changed files
📝
internal/api/containers.go(+8 -7)📝
internal/api/containers_extra.go(+12 -3)📝
internal/api/network_portainer_test.go(+90 -0)📝
internal/api/system.go(+9 -7)📝
internal/lxc/config.go(+76 -5)➕
internal/lxc/config_test.go(+115 -0)📝
internal/lxc/manager.go(+20 -0)➕
internal/lxc/manager_test.go(+39 -0)📄 Description
Summary
defaultandbridgenetwork aliases to the daemon-managedgowbridge during create, attach, and inspect flowsCapAdddo not fail on startupXDG_RUNTIME_DIRsemantics for GoW Wayland and PulseAudio session socketsRoot Cause
Exercising Portainer and GoW on a Proxmox host exposed three daemon-side compatibility bugs:
POST /containers/createcould rejectNetworkingConfig.EndpointsConfig.defaultbecause the daemon treated Docker's implicit bridge aliases literally instead of mapping them togow.CapAddinherited conflicting LXC drop rules, which caused LXC startup to fail withKeeping and dropping capabilities are mutually exclusive./run/user/wolf/wayland-1 -> /run/user/wolf/wayland-1were rewritten through hidden mount points and symlinks, which broke full runtime-directory sharing for GoW session containers even though single control sockets still worked.Validation
go test ./...make builddocker-lxc-daemonbinary toroot@192.168.1.253Notes
0a2eb5b.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.