Update duokai.sh

This commit is contained in:
smeb y 2024-03-25 17:45:27 +08:00 committed by GitHub
parent 1aad9ee2f9
commit 38956576aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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