CasaOS Installer Fails on Ubuntu 24.04: Docker CE 24.0.7 Not Found

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:

  1. How to bypass Docker installation fully
    (installer respects INSTALL_DOCKER=false).
  2. Updated installer
    that supports Docker 28/29 on Ubuntu 24.04.
  3. Manual workaround
    such as editing casaos-install.sh or patching the Docker version check.
  4. 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.

I think the log already shows what is happening. The installer searches for Docker CE 24.0.7 and reports:

INFO: Searching repository for VERSION '24.0.7'
ERROR: '24.0.7' not found amongst apt-cache madison results

I believe this means Ubuntu 24.04 no longer lists that exact Docker version, so when the script checks apt-cache madison docker-ce, the expected entry is missing and the installer stops.

I suggest seeing this as a simple timing mismatch. Ubuntu 24.04 has moved to newer Docker releases, and the installer just needs a small update so it can recognise the newer packages or skip Docker installation when it is already installed.

I think this also explains why Ubuntu 22.04 works. It still carries the older Docker CE version the script is looking for, while 24.04 has already removed it.

I believe once the installer is refreshed, both 22.04 and 24.04 will behave the same. Nothing is broken, it is just a version change ahead of the installer update.

I suggest using Ubuntu 22.04 or Debian 12 for the smoothest install until the script is updated.

Is this helpful?

Yes