mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-07-08 14:51:43 -04:00
[PR #61] Update Docker version handling for CasaOS compatibility #77
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?
Original Pull Request: https://github.com/bigbeartechworld/big-bear-scripts/pull/61
State: closed
Merged: Yes
This pull request updates the CasaOS Docker Version Fix Script to improve compatibility checks and installation robustness for Docker 24.0.x. The script now verifies Docker 24.0.x package availability for the user's OS version, installs the latest matching version rather than a hardcoded one, and provides clearer messaging and fallback logic during installation. These changes help prevent installation on unsupported OS versions and ensure users receive the most compatible Docker release for CasaOS.
Compatibility and OS Detection Improvements:
check_docker_availabilityfunction to detect if Docker 24.0.x is available for the user's OS version (Debian trixie, Ubuntu noble/oracular are now flagged as unsupported), with detailed error messages and recommended solutions. [1] [2]Installation Logic Enhancements:
5:24.0.*) for installing the latest available Docker 24.0.x, and updated installation commands and fallback logic to match any suitable 24.0.x version. [1] [2] [3]containerd.ioinstallation, trying version patterns if exact matches fail, and clarified error messaging for failed installations.Messaging and Documentation Updates: