mirror of
https://github.com/games-on-whales/LXC2Docker.git
synced 2026-10-15 21:02:07 +00:00
[PR #47] [MERGED] fix(gc): spare support containers owned by a running managed container #49
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#49
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/47
Author: @JBailes
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @JBailes
Base:
docker-lxc-daemon← Head:fix/gc-spare-managed-owner-support-containers📝 Commits (1)
1d4a508fix(gc): spare support containers owned by a running managed container📊 Changes
1 file changed (+21 additions, -11 deletions)
View changed files
📝
internal/lxc/manager.go(+21 -11)📄 Description
The GC orphan reaper only spared support containers when a Proxmox CT (VMID>0) was running. When the owner runs as a managed LXC2Docker container
(io.smoothnas.managed=true, VMID=0) — e.g. Wolf — the WolfPulseAudio it spawns at boot is reaped a GC cycle later while the owner is still running and
idle, killing Wolf's audio and crash-looping it. Generalize the guard to also treat a running managed container as an owner (that label already exempts the
owner itself from GC).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.