From 0df2abb9d3dd9b4afa2a1acd658cdcf903eb0bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E7=92=9F?= Date: Fri, 3 Jan 2025 14:27:03 +0800 Subject: [PATCH 1/2] Update install_docker.sh Adapt to Openeuler(24) --- install/install_docker.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/install/install_docker.sh b/install/install_docker.sh index 7daf8ccc..84c637b8 100644 --- a/install/install_docker.sh +++ b/install/install_docker.sh @@ -106,6 +106,13 @@ install_docker_custom() { sudo mkdir -p /usr/local/lib/docker/cli-plugins/ sudo curl -SL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-$(uname -m)" -o /usr/local/lib/docker/cli-plugins/docker-compose sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose + elif [ "$lsb_dist" = "openeuler" ]; then + sudo dnf update -y + sudo dnf -y install dnf-plugins-core + sudo dnf config-manager --add-repo=https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo + sudo sed -i 's+$releasever+8+' /etc/yum.repos.d/docker-ce.repo + sudo dnf makecache + sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin else repos=("${repos_base[@]/%//${lsb_dist}/docker-ce.repo}") sudo dnf remove -y podman || sudo yum remove -y podman @@ -204,4 +211,4 @@ command_exists() { download_docker_script # install docker -install_docker_official \ No newline at end of file +install_docker_official From 9b041046659a955b3cec88d0168e4c7e40242cda Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 3 Jan 2025 15:08:49 +0800 Subject: [PATCH 2/2] install docker on openEuler --- version.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.json b/version.json index 9c715d01..2e3c2b90 100644 --- a/version.json +++ b/version.json @@ -11,8 +11,8 @@ }, "OS": { "Fedora": [ - "41", - "40" + "40", + "39" ], "RedHat": [ "9",