[Bug] Debian 12 bookworm fix the error failed to load app
Installing Docker Engine version 28.5.2 on Debian 12 involves setting up the Docker APT repository and then installing the specific version. Update and Install Required Dependencies.
sudo apt update sudo apt install -y apt-transport-https ca-certificates curl gnupg lsb-release
Add Docker's Official GPG Key.
sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
Set up the Docker Repository.
echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Install Docker Engine (Specific Version).
First, update the package index:
sudo apt update
Then, install the desired version of Docker Engine, CLI, and containerd.io:
VERSION_STRING=5:28.5.2-1~debian.12~bookworm sudo apt install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin
sudo docker run hello-world
See https://github.com/IceWhaleTech/CasaOS/issues/2407
Hi all! Sorry for the long wait, with the help of Sabitech, the installation script has been fixed 🙂 , now you can just do a clean install or use the current installation script to fix the previous docker app not loading. The new script has the following features:
Install the latest available Docker engine instead of Docker 24.0.7
Apply a Docker API compatibility override for newer Docker versions
Allow CasaOS services and baked-in apps to work with modern Docker
Please rest assured that we will continue to improve user experience and working hard to ensure compatibility across multiple platforms.