Skip to content

fix: disable ContainerPrune and NetworkPrune#26

Merged
veerendra2 merged 1 commit into
mainfrom
fix/disable-container-prune
May 29, 2026
Merged

fix: disable ContainerPrune and NetworkPrune#26
veerendra2 merged 1 commit into
mainfrom
fix/disable-container-prune

Conversation

@veerendra2
Copy link
Copy Markdown
Owner

@veerendra2 veerendra2 commented May 29, 2026

Disables ContainerPrune and NetworkPrune to preserve stopped containers and their networks during maintenance.

Fixes #22

@veerendra2 veerendra2 added the build Builds dev docker image label May 29, 2026
@veerendra2 veerendra2 force-pushed the fix/disable-container-prune branch from 080d208 to b256287 Compare May 29, 2026 20:55
…ainers

ContainerPrune and NetworkPrune remove stopped containers and their networks,
causing issues during backups/maintenance when containers are intentionally stopped.

ComposeFlux already manages container and network lifecycle via Down() in the
Prune() function, so these prune operations are redundant.

Changes:
- Disable ContainerPrune and NetworkPrune with consolidated explanation
- Keep other resource pruning (images, volumes, build cache)

Fixes #22

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@veerendra2 veerendra2 force-pushed the fix/disable-container-prune branch from b256287 to 6e38378 Compare May 29, 2026 20:56
@veerendra2 veerendra2 changed the title fix: disable ContainerPrune to preserve stopped containers fix: disable ContainerPrune and NetworkPrune May 29, 2026
@veerendra2 veerendra2 merged commit 6a57a2b into main May 29, 2026
2 checks passed
@veerendra2 veerendra2 deleted the fix/disable-container-prune branch May 29, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Builds dev docker image

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add suspend reconciliation support for stacks

1 participant