Update duokai.sh
This commit is contained in:
parent
f0010bddf2
commit
b07538707e
@ -33,7 +33,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 拉取Docker镜像
|
# 拉取Docker镜像
|
||||||
docker pull nezha123/titan-edge:1.1
|
docker pull nezha123/titan-edge:1.2
|
||||||
|
|
||||||
|
|
||||||
# 创建用户指定数量的容器
|
# 创建用户指定数量的容器
|
||||||
@ -44,7 +44,7 @@ do
|
|||||||
mkdir -p "$storage"
|
mkdir -p "$storage"
|
||||||
|
|
||||||
# 运行容器,并设置重启策略为always
|
# 运行容器,并设置重启策略为always
|
||||||
container_id=$(docker run -d --restart always -v "$PWD/$storage:/root/.titanedge/storage" --name "titan$i" nezha123/titan-edge:1.1)
|
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"
|
echo "节点 titan$i 已经启动 容器ID $container_id"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user