cloudron-support: fix docker version script

This commit is contained in:
Girish Ramakrishnan
2025-09-11 09:18:01 +02:00
parent 7ff07804d0
commit c69bc77a7a
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -803,7 +803,7 @@ function fix_docker_version() {
echo "downloading docker ${docker_version}"
# copied from installer.sh
curl --fail -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/containerd.io_${containerd_version}_amd64.deb" -o /tmp/containerd.deb
curl --fail -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/containerd.io_${containerd_version}-1_amd64.deb" -o /tmp/containerd.deb
curl --fail -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/docker-ce-cli_${docker_version}-1~ubuntu.${ubuntu_version}~${ubuntu_codename}_amd64.deb" -o /tmp/docker-ce-cli.deb
curl --fail -sL "https://download.docker.com/linux/ubuntu/dists/${ubuntu_codename}/pool/stable/amd64/docker-ce_${docker_version}-1~ubuntu.${ubuntu_version}~${ubuntu_codename}_amd64.deb" -o /tmp/docker.deb
+2 -1
View File
@@ -106,7 +106,8 @@ fi
# https://docs.docker.com/engine/installation/linux/ubuntulinux/
# https://download.docker.com/linux/ubuntu/dists/noble/pool/stable/amd64/
readonly docker_version="28.1.1" # this is the highest on Ubuntu 20.04 focal
# this is the highest on Ubuntu 20.04 focal
readonly docker_version="28.1.1"
readonly containerd_version="1.7.27"
if ! which docker 2>/dev/null || [[ $(docker version --format {{.Client.Version}}) != "${docker_version}" ]]; then
log "installing/updating docker"