From 69e94d789f169a8026890d315923b8049af2a4c2 Mon Sep 17 00:00:00 2001 From: smeb_y Date: Wed, 7 Aug 2024 15:23:56 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20duokai.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- duokai.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/duokai.sh b/duokai.sh index b718276..93ec3e1 100644 --- a/duokai.sh +++ b/duokai.sh @@ -39,7 +39,7 @@ else fi # 拉取Docker镜像 -docker pull nezha123/titan-edge:1.7_amd64 +docker pull nezha123/titan-edge:1.7 # 创建用户指定数量的容器 for ((i=1; i<=container_count; i++)) @@ -59,7 +59,7 @@ do mkdir -p "$storage_path" # 运行容器,并设置重启策略为always - container_id=$(docker run -d --restart always -v "$storage_path:/root/.titanedge/storage" --name "titan$i" --net=host nezha123/titan-edge:1.7_amd64) + container_id=$(docker run -d --restart always -v "$storage_path:/root/.titanedge/storage" --name "titan$i" --net=host nezha123/titan-edge:1.7) echo "节点 titan$i 已经启动 容器ID $container_id"