mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-03-31 06:24:02 -04:00
[PR #60] [MERGED] Improve Docker downgrade process and cleanup #67
Reference in New Issue
Block a user
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/bigbeartechworld/big-bear-scripts/pull/60
Author: @dragonfire1119
Created: 11/13/2025
Status: ✅ Merged
Merged: 11/13/2025
Merged by: @dragonfire1119
Base:
master← Head:fix-the-stale-cache📝 Commits (1)
ec1e4a1Improve Docker downgrade process and cleanup📊 Changes
1 file changed (+26 additions, -3 deletions)
View changed files
📝
casaos-fix-docker-api-version/run.sh(+26 -3)📄 Description
This pull request updates the Docker downgrade process in the
casaos-fix-docker-api-version/run.shscript to be more robust and thorough. The main improvements focus on cleaning up old Docker repository configurations and unused dependencies to prevent conflicts and ensure a clean installation.Enhancements to Docker downgrade and cleanup process:
docker.listand anydocker*.listfiles) from/etc/apt/sources.list.d/before setting up the new repository, reducing the risk of repository conflicts./var/lib/apt/lists/*to ensure fresh package lists are downloaded.--purge, ensuring all configuration files are deleted, and added anapt-get autoremovestep to clean up unused dependencies after Docker is uninstalled.apt-get updateis a forced refresh after repository changes.Other:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.