In https://docker-install.netlify.app/install.sh, it has following lines
download_url="https://download.docker.com/linux/static/stable/$(uname -m)"
latest_version=$(curl -H 'Cache-Control: no-cache' -s "$latest_version_check" | grep 'tag_name' | cut -d\" -f4 | sed 's/v//g')
wget $download_url/$latest_version.tgz
It fetches https://api.github.com/repos/moby/moby/releases/latest, and grep "tag_name".
Since tag_name is "docker-v29.0.2", the download path becomes https://download.docker.com/linux/static/stable/x86_64/docker-docker-v29.0.2.tgz, which has duplicated "docker"
Correct path should be https://download.docker.com/linux/static/stable/x86_64/docker-v29.0.2.tgz
In https://docker-install.netlify.app/install.sh, it has following lines
It fetches
https://api.github.com/repos/moby/moby/releases/latest, and grep "tag_name".Since tag_name is "docker-v29.0.2", the download path becomes
https://download.docker.com/linux/static/stable/x86_64/docker-docker-v29.0.2.tgz, which has duplicated "docker"Correct path should be
https://download.docker.com/linux/static/stable/x86_64/docker-v29.0.2.tgz