CasaOS Installer Fails on Ubuntu 24.04: Docker CE 24.0.7 Not Found
Hi team,
I am running into a consistent failure when installing CasaOS on Ubuntu 24.04 LTS (Noble). The installer script always fails during the Docker installation stage because it hard-targets an old Docker version that no longer exists in the Ubuntu repos.
System Details
- OS: Ubuntu 24.04 LTS (fresh install)
- Kernel: 6.x
- Hardware: x86_64
- Docker: already installed (version 29.0.1)
- Install command used:
bash -c "$(curl -fsSL https://get.casaos.io)"
- Also tried:
export INSTALL_DOCKER=false
Problem
Even after setting INSTALL_DOCKER=false, the installer attempts to install Docker CE 24.0.7 and fails.
This is the repeating error:
INFO: Searching repository for VERSION '24.0.7'
INFO: apt-cache madison docker-ce | grep '24.0.7' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3
ERROR: '24.0.7' not found amongst apt-cache madison results
Confirmed by running manually:
apt-cache madison docker-ce
There is no entry for version 24.0.7 in Noble.
Sample Output from the Installer
Below is the relevant portion of the full log:
# Executing docker install script, commit: 7d96bd3c5235ab2121bcb855dd7b3f3f37128ed4
+ sudo -E sh -c 'apt-get -qq update >/dev/null'
+ sudo -E sh -c 'DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null'
+ sudo -E sh -c 'install -m 0755 -d /etc/apt/keyrings'
+ sudo -E sh -c 'curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" -o /etc/apt/keyrings/docker.asc'
+ sudo -E sh -c 'chmod a+r /etc/apt/keyrings/docker.asc'
+ sudo -E sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu noble stable" > /etc/apt/sources.list.d/docker.list'
+ sudo -E sh -c 'apt-get -qq update >/dev/null'
INFO: Searching repository for VERSION '24.0.7'
ERROR: '24.0.7' not found amongst apt-cache madison results
Notes
- Docker is already installed and functional.
- The installer overrides this and tries to install a fixed version.
- Version 24.0.7 has been removed from Docker’s APT repository.
- The script does not fallback to latest or detect existing Docker installations.
What I Need
I’m looking for guidance on one of the following:
- How to bypass Docker installation fully
(installer respectsINSTALL_DOCKER=false). - Updated installer
that supports Docker 28/29 on Ubuntu 24.04. - Manual workaround
such as editingcasaos-install.shor patching the Docker version check. - Any override.conf method
that allows me to proceed without downgrading Docker.
Additional Context
Other users on the community have solved similar issues on Debian/OMV by using an external override file. Their reports indicate the issue is tied to a hardcoded Docker version in the BigBear / CasaOS dependency logic.
If needed, I can provide:
- Full installation logs
- Docker info output
- System environment details
Thanks in advance to anyone who can help.