From a7dbd2880e9a6d8c6dae1be494dda9d876059ba7 Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Mon, 25 Mar 2024 21:01:14 +0800 Subject: [PATCH] Update duokaixianzhiban.sh --- duokaixianzhiban.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/duokaixianzhiban.sh b/duokaixianzhiban.sh index 56e911b..957a00c 100644 --- a/duokaixianzhiban.sh +++ b/duokaixianzhiban.sh @@ -40,7 +40,7 @@ else fi # 拉取Docker镜像 -docker pull nezha123/titan-edge:1.1 +docker pull nezha123/titan-edge # 创建映像文件存放目录 mkdir -p $volume_dir @@ -64,7 +64,7 @@ do echo "$volume_path $mount_point ext4 loop,defaults 0 0" | sudo tee -a /etc/fstab # 运行容器,并设置重启策略为always - container_id=$(docker run -d --restart always -v $mount_point:/root/.titanedge/storage --name "titan$i" nezha123/titan-edge:1.1) + container_id=$(docker run -d --restart always -v $mount_point:/root/.titanedge/storage --name "titan$i" nezha123/titan-edge) echo "节点 titan$i 已经启动 容器ID $container_id"