From ce38376005b359e6e084c191a107ee55fc601ad1 Mon Sep 17 00:00:00 2001 From: lc Date: Thu, 13 Feb 2025 02:52:46 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docker.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker.sh b/docker.sh index 6deda81..a8ff8b0 100644 --- a/docker.sh +++ b/docker.sh @@ -18,10 +18,10 @@ else echo "使用官方站点安装 Docker 和 Docker Compose。" fi -# 方法 1: 固定版本号(根据需要手动更新) +# 方法 1: 固定版本号(根据需要手动更新) DOCKER_COMPOSE_VERSION="v2.23.0" -# 方法 2: 从阿里云镜像站点获取版本号(无需访问 GitHub) +# 方法 2: 从阿里云镜像站点获取版本号(无需访问 GitHub) if [ "$USE_CHINA_MIRROR" = "yes" ]; then DOCKER_COMPOSE_VERSION=$(curl -s https://mirrors.aliyun.com/docker-ce/linux/static/stable-x86_64/ | grep -oP 'docker-compose-\K.*(?=-linux-x86_64)' | tail -1) fi