Update duokai.sh

This commit is contained in:
smeb y 2024-04-02 16:21:13 +08:00 committed by GitHub
parent e7d1c74176
commit 1f9c572b16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ else
fi
# 拉取Docker镜像
docker pull nezha123/titan-edge:1.4
docker pull nezha123/titan-edge:1.3
# 创建用户指定数量的容器
for i in $(seq 1 $container_count)
@ -57,7 +57,7 @@ do
mkdir -p "$storage_path"
# 运行容器并设置重启策略为always
container_id=$(docker run -d --restart always -v "$storage_path:/root/.titanedge/storage" --name "titan$i" nezha123/titan-edge:1.4)
container_id=$(docker run -d --restart always -v "$storage_path:/root/.titanedge/storage" --name "titan$i" nezha123/titan-edge:1.3)
echo "节点 titan$i 已经启动 容器ID $container_id"